Monday 20 December 2010

Flow chart to implement stack operations by using the pointers.

Description:


In this program we have to implement the stack operation by using the pointers. Here they stack operation are push and pop. Push operation is used to insert the elements into a stack and pop operation is used to remove the elements in to a stack.








VIVA QUESTIONS: 

1) Define Stack ?
Ans: A stack is a linear data structure in which a data item is inserted and deleted at one end

2) Define data structure ?
Ans: A data structure is a collection of organized data that are related to each other


3) What are the various operation performed on the stack ? Ans: push(), pop()

You may like the following posts:


Do you want Training for this course :Click here for enrolling
Program in c++

No comments:

Post a Comment