Which of the following is the infix form of the prefix expression *+AB-CD?

Options

  • A. (A+B)*(C-D)
  • B. (A*B)+(C-D)
  • C. (A+B)*C-D
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

A. (A+B)*(C-D)

Detailed Explanation

Correct Answer: A. (A+B)*(C-D)

Explanation: In prefix notation, each operator appears before its operands.

  • +AB represents (A+B).
  • -CD represents (C-D).
  • * combines both expressions.
  • Final infix: (A+B)*(C-D).