Wednesday, October 28, 2009

BASIC STACK OPERATIONS

The three basic stack operations are push, pop, and stack top. Push is used to insert data into the stack. Pop removes data from a stack and returns the data to the calling module. Stack top returns the data at the top of the stack without deleting the data from the stack.

No comments:

Post a Comment