Skip to main contentSkip to solution

Evaluate following postfix expression given A = 5, B = 4, C= 2, D = 1.

A B * C / D *

Solution

✅ Correct Option: 3

In a postfix expression, each operator acts on the two values just before it, scanning left to right.

A B ∗⇒5×4=20A\,B\,* \Rightarrow 5 \times 4 = 20

20 C /⇒20÷2=1020\,C\,/ \Rightarrow 20 \div 2 = 10

10 D ∗⇒10×1=1010\,D\,* \Rightarrow 10 \times 1 = \boxed{10}

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question