Consider the postfix expression:
7 8 2 * 4 / + 3 -
In which order the operators will be evaluated?
(A) +
(B) *
(C) /
(D) -
Consider the postfix expression:
7 8 2 * 4 / + 3 -
In which order the operators will be evaluated?
(A) +
(B) *
(C) /
(D) -
Solution
✅ Correct Option: 2
A postfix expression is scanned left to right. Each operator is applied to the two most recent operands on the stack, so operators are evaluated in the order they appear.
(B) :
(C) :
(A) :
(D) :
Related questions:
2026: 24 May Shift 1
2026: 29 May Shift 2
2026: 23 May Shift 2