What is the value of the postfix expression 4 5 7 2 + - *?
Answers
Answered by
2
First put the postfix expression in simple form so that we can calculate easily.
The operators will be used from backside, like this:
4*(5-(7+2))
After simplifying, we get
4*(-4) =-16
Thus, the value of the given postfix expression is -16.
Similar questions