Which of the following data structures is most suitable for evaluating postfix expressions?
Show answerHide answer
Correct answer: (B) Stack
Explanation
Operands are pushed onto a stack. When an operator is read, the top two operands are popped, the operator is applied and the result is pushed back, so a stack is the natural structure for postfix evaluation.