1.

What is the value of the postfix expression 6 3 2 4 + – *?(a) 1(b) 40(c) 74(d) -18I would like to ask this question from Stack Operations in section Abstract Data Types of Data Structures & Algorithms II had been asked this question in my homework.

Answer»

Correct choice is (d) -18

The best explanation: Postfix EXPRESSION is (6*(3-(2+4))) which RESULTS -18 as output.



Discussion

No Comment Found

Related InterviewSolutions