Which one of the following is prefix representation of the infix expression A…

2018

Which one of the following is prefix representation of the infix expression A * (B + C) / D ?

  1. A.

    /*A+BCD

  2. B.

    A + B / CD

  3. C.

    +*AB/CD

  4. D.

    None of the above

Attempted by 1100 students.

Show answer & explanation

Correct answer: A

Stepwise conversion:

  • (B + C) → + B C

  • A * (B + C) → * A + B C

  • [A * (B + C)] / D → / * A + B C D

Prefix form (compact): /*A+BCD

Explore the full course: Up Lt Grade Assistant Teacher 2025