GATE CS 2007 — Question 55

Multiple choice 2 marks Question 55 2007

Question 55

MCQ 2 marks · −0.66 Programming and Data Structures

The following postfix expression with single-digit operands is evaluated using a stack:

8 2 3 ^ / 2 3 * + 5 1 * -

Note that ^ is the exponentiation operator. The top two elements of the stack after the first * is evaluated are:

Answers and explanations are free — they just need an account.

Where this question comes from

Source: GATE 2007 Computer Science and Engineering, Q55 (question number approximate)