Operations
No of elements in Stack -
Operation -
Index position of Top -
How to Get Started
- Initially the Stack would be empty.
- Top Pointer would be -1 pointing to NULL Value.
- Enter the required postfix expression and click 'Go'.
- The elements would appear on the screen.
- On clicking the 'Next Step' evaluation would be started and corresponding operations would be done in stack.
- The last element reamaining towards which the top pointer is pointing would be the result of expression.