Computer Science EngineeringVery hardISRO SC (CS)

The postfix expression 3 3 * 2 + 6 1 * * evaluates to:

  1. A. 67
  2. B. 66
  3. C. 69
  4. D. 63

Correct answer: B. 66

Scan left to right with a stack; for a - b pop b first, then a, and compute a - b. Result 66.

More Algorithms, Data Structures & Programming (ISRO CS) questions

Exams that ask this topic