1.

The postfix form of A*B+C/D is?(a) *AB/CD+(b) AB*CD/+(c) A*BC+/D(d) ABCD+/*My question is taken from Stack Operations topic in portion Abstract Data Types of Data Structures & Algorithms IThe question was posed to me by my college professor while I was bunking the class.

Answer» RIGHT CHOICE is (b) AB*CD/+

To explain: Infix EXPRESSION is (A*B)+(C/D)

AB*+(C/D)

AB*CD/+. Thus POSTFIX expression is AB*CD/+.


Discussion

No Comment Found

Related InterviewSolutions