Stacks on Data Structure and Algorithms related Questions and Answers


Question :   Which of the following statement is incorrect with respect to infix to postfix conversion algorithm?
1. operand is always placed in the output
2. operator is placed in the stack when the stack operator has lower precedence
3. parenthesis are included in the output
4. higher and equal priority operators follow the same condition
Answer :   3 - parenthesis are included in the output  

* 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