Data Structure in C Programming Language is a specialized format for organizing and storing data . In General data structure types include the file, array, record, table, tree.. etc. Apart from this here we will discuss about different concepts of data structure with real time examples. Topics to be covered: 1) Stack 2) Queue 3) linked list 4) Trees 5) Graphs STACK Stack is linear data structure. In stack addition of new data item and deletion of already existing data item is done from only one end, known as top . Working of stack on the basis of Last-in-First-out (LIFO) principal, it means last entered item remove first. Working of Stack in C A stack is a container of objects that are inserted and removed according to the Last-in First-Out (LIFO) principle. Both operation insert and deletion perform in stack only from TOP. Real life example of stack A most popular example of stack is plates in marriage party. Fresh plates are pushed onto to the
Posts
Showing posts from September, 2019