how to implement stack operation using singly linked list
Answer Posted / vignesh1988i
we know that stack is a data structure where the
highest priority will be given to the last element that is
pushed inside and the priority will decrease respectively to
the next consecutive elements........ so we are going to
implement in singly list .... so we are going to insert the
node to the left side of a reference node....... operations
performed in stack are : PUSH & POP..... PUSH here means we
are going to insert a element only at last ..... and POP
means displaying the node from first........
thank u
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
What is sizeof int?
What is cohesion in c?
What is the ANSI C Standard?
What is data structure in c language?
Differentiate between calloc and malloc.
What is wrong in this statement?
What is a lvalue
my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?
What language is lisp written in?
Explain what is wrong in this statement?
Write a program to identify if a given binary tree is balanced or not.
What is wild pointer in c with example?
What is local and global variable in c?
What are bitwise shift operators in c programming?
Is null valid for pointers to functions?