ISRO 2009 · Arrays & Matrix Representation

MCQ · 1 mark · Problem PROG-DSTR-0170

The infix expression \(A+(B-C)^*D\) is correctly represented in prefix notation as
  1. A
    \(A+B-C*D\)
  2. B
    \(+A*-BCD\)
  3. C
    \(ABC-D*+\)
  4. D
    \(A+BC-D*\)

Solve it on GATE DA practice →More Basic Data Structures problems

Show the worked solutionOfficial GATE Answer Key: Option B.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/50380/isro2009-28

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com