hi, can anyone give me the different stack functions...our teacher just gave us the bare bones, what the different functions do...but no sample code...thank you
hi..
do you need the functions those can be done on stack or else the implementation of stack??
any way :-
Functions on stack are:
1. Push - to add element into stack
2. Pop - to remove TOP element from stack (FILO order)
3. IsFull -to check whether stack is full
4. IsEmpty - to check whether stack is empty.
(i think 3,4 are proper stack functions)
Implementation of stack:
(place where we can implement stack)
1. When function calll occurs (operands and controls are stored to stack)
2. for infix ,postfix notations..
3. all the places when you need to serve the last come first serve basis..