Evaluat postfix expression AB+C-BA+C$- by using stack
Answers
Answered by
5
Explanation:
stack::pop()
stack::pop() is a public member function that is used to remove the top-most element of the stack. Since,there is only one end for insertion and deletion in stack,therefore the element added recently would be on the top of satck,and would be the first to get out of the stack.
Similar questions