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
write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.
What is main return c?
In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?
#include
What is the best organizational structure?
Write a program to print fibonacci series without using recursion?
How was c created?
Explain what are run-time errors?
What are predefined functions in c?
What is indirection? How many levels of pointers can you have?
Why do we use namespace feature?
What is cohesion in c?
Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?
What is difference between arrays and pointers?