Q. Use a stack to evaluate the following postfix expression and show the content of the stack after execution of each operation. Don't write any code. Assume as if you are using push and pop member functions of the stack AB - CD + E * + (where A = 5, B = 3, C = 5, D = 4, and E = 2)
Answer =
20
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )