The following postfix expression with single digit operands is evaluated using…
PYQ Hexaware Hiring Assessment 2025
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. After the first * operator has been evaluated, the top two stack elements, listed from top to bottom, are:
- A.
6, 1
- B.
5, 7
- C.
3, 2
- D.
1, 5
Attempted by 26 students.
Sign up free to check your answer
Sign up freeLoading lesson…

