1.

Evaluate the postfix expression ab + cd/- where a=5, b=4, c=9, d=3.(a) 23(b) 15(c) 6(d) 10Question is from Application of Stacks in portion Application of Stacks of Data Structures & Algorithms IThis question was addressed to me by my college director while I was bunking the class.

Answer»

Correct choice is (C) 6

The EXPLANATION is: The INFIX expression is (a+b)-c/d. EVALUATING it, (5+4)-9/3 GIVES 6.



Discussion

No Comment Found

Related InterviewSolutions