Which of the following is the prefix form of A+B*C?

2023

Which of the following is the prefix form of A+B*C?

  1. A.

    +*ABC

  2. B.

    ABC+*

  3. C.

    +A*BC

  4. D.

    More than one of the above

  5. E.

    None of the above

Attempted by 703 students.

Show answer & explanation

Correct answer: C

To convert the infix expression A+B*C to prefix notation, follow these steps: Step 1: Identify operator precedence. Multiplication (*) has higher precedence than addition (+). Step 2: Group the expression as A + (B * C). Step 3: Convert the sub-expression (B * C) to prefix: * B C. Step 4: Now convert A + (* B C) to prefix: + A * B C. Final prefix form: +A*BC.

Explore the full course: Up Lt Grade Assistant Teacher 2025