mplementation of stack using any programing language



mplementation of stack using any programing language..

Answer / 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

More C Interview Questions

Is Exception handling possible in c language?

0 Answers   Wipro,


what is the full form of c language

9 Answers   Satyam, TCS, VNC,


Why c is called top down?

0 Answers  


WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?

1 Answers   IBM,


What are all different types of pointers in c?

0 Answers  






Are pointers integer?

0 Answers  


What is a function simple definition?

0 Answers  


main() {int a=200*200/100; printf("%d",a); }

14 Answers   TCS,


How reliable are floating-point comparisons?

0 Answers  


What are the different types of linkage exist in c?

0 Answers  


How to run c Program without using IDE of c. means if program made in notepad.then how to compile by command prompt.

1 Answers   HP, TCS,


what is the output for this question: main() { int i=1; printf("%d%d%d",i,i++,++i); }

9 Answers  


Categories