mplementation of stack using any programing language
Answer Posted / aravind
1. stack as an array or linked list (two ways)
2.define array.
3.perform push operation by taking one more array.
4.perform pop and store the popped items
5.display function to print the popped values
6.make sure you reach LIFO
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
Why main is not a keyword in c?
What do you understand by friend-functions? How are they used?
Is array a primitive data type in c?
What is indirection?
Can I initialize unions?
How can I write a function analogous to scanf?
Can you return null in c?
What does struct node * mean?
Tell us the use of fflush() function in c language?
Explain a file operation in C with an example.
Why doesn't C support function overloading?
Who invented b language?
What is c system32 taskhostw exe?
What are the primitive data types in c?
How do you define a function?