Page 1 of 1

While evaluating a postfix expression, when an operator is encountered, what is the correct operation to be performed?

Posted: Wed Jul 13, 2022 7:41 pm
by answerhappygod
a) push it directly on to the stack
b) pop 2 operands, evaluate them and push the result on to the stack
c) pop the entire stack
d) ignore the operator