Skip to main contentSkip to solution

Convert the following Infix notation to POSTFIX

(A - B) / (C + D)

Solution

✅ Correct Option: 1

In postfix, each operator comes after its two operands. The brackets are converted first, and the operator outside them goes last.

(A−B)(A - B) becomes A B −A\ B\ -, and (C+D)(C + D) becomes C D +C\ D\ +.

The // then goes after both converted parts, giving A B − C D + /A\ B\ -\ C\ D\ +\ /.


Option 2: operators come before operands, which is prefix-style, not postfix.

Option 3: ++ and // are placed out of order, so C+DC + D is never formed before the division.

Option 4: ignores the brackets, so it does not divide the whole (A−B)(A - B) by the whole (C+D)(C + D).

Keyboard Shortcuts

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