GATEverse
← GATE CSE 2007

Q38

MCQ2 marks, −0.5

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

8 2 3   ^  ∕ 2 3∗+5 1∗−8 \ 2 \ 3 \ \;\hat{}\; ∕ \ 2 \ 3 * + 5 \ 1 * -

Note that   ^  \;\hat{}\; is the exponentiation operator. The top two elements of the stack after the first ∗* is evaluated are

Sign in to save attempts.

Loading…