All mock tests are FREE till 31 December — register to save your progress
Unit 7 · Data Structures and Algorithms Paper 2 CS · December 2023

What is the result of evaluating the postfix expression "4 3 * 2 5 * + 8 -"?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: B. 14

Explanation

4 3 * = 12; 2 5 * = 10; 12 + 10 = 22; 22 − 8 = 14.

More Data Structures and Algorithms questions