Which of the following is the correct postfix expression for (A-B)/(C+D)?

Options

  • A. AB-CD+/
  • B. AB-C+D/
  • C. AB/CD+-
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

A. AB-CD+/

Detailed Explanation

Correct Answer: A. AB-CD+/

Explanation: Convert each parenthesized expression separately.

  • (A-B) becomes AB-.
  • (C+D) becomes CD+.
  • Division is performed after both operands are ready.
  • Final postfix expression: AB-CD+/.