ISRO Computer Science (CSE) 2016 - Question 27

All ISRO Computer Science (CSE) papers | ISRO Computer Science (CSE) 2016

The following postfix expression with single digit operands is evaluated using a stack 8 2 3 ^ / 2 3 * 5 1 * - (Note that ^ is the exponential operator) The top two elements of the stack after the first * operator is evaluated are

  • A. 6,1
  • B. 5,7
  • C. 3,2
  • D. 1,5

Answer: A. 6,1

| | All questions of ISRO Computer Science (CSE) 2016