Stacks on Data Structure and Algorithms related Questions and Answers


Question :   Consider the postfix expression 4 5 6 a b 7 8 a c, where a, b, c are operators. Operator a has higher precedence over operators b and c. Operators b and c are right associative. Then, equivalent infix expression is
1. 4 a 5 6 b 7 8 a c
2. 4 a 5 c 6 b 7 a 8
3. 4 b 5 a 6 c 7 a 8
4. 4 a 5 b 6 c 7 a 8
Answer :   3 - 4 b 5 a 6 c 7 a 8  

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter