Question discussion

What is the postfix form of the infix expression A + B * C − D / E ?

981Medium DSSSB TGT Computer Science 0 replies 1 views
0

What is the postfix form of the infix expression A + B * C − D / E ?

  • AABC*+DE/-
  • BAB+C*DE/-
  • CABCDE/*+-
  • DABC*DE/+-
Correct answer: A

Explanation

B*C becomes BC*, A + that becomes ABC*+, D/E becomes DE/ and the final subtraction gives ABC*+DE/-.

Discussion 0

Nobody has replied yet. Start the discussion!