Evaluate the given postfix expression: 3 5 * 6 + 2 3 * -
2025
Evaluate the given postfix expression: 3 5 * 6 + 2 3 * -
- A.
39
- B.
15
- C.
-9
- D.
-17
Attempted by 421 students.
Show answer & explanation
Correct answer: B
Evaluate the postfix expression from left to right. When an operator is found, apply it to the two most recent operands. Step 1: 3 5 * gives 3 * 5 = 15. Step 2: 15 6 + gives 15 + 6 = 21. Step 3: 2 3 * gives 2 * 3 = 6. Step 4: 21 6 - gives 21 - 6 = 15. Therefore, the value of the postfix expression is 15.