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
What is function what are the types of function?
What is the best way of making my program efficient?
What is the difference between far and near ?
Write a program to use switch statement.
Explain enumerated types.
main() { printf("hello"); fork(); }
What is I ++ in c programming?
Why c is called a mid level programming language?
Write a program on swapping (100, 50)
A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor
What does static variable mean in c?
What is floating point constants?
What are the 5 data types?
typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none
What is pointer to pointer in c language?