1.

To convert the postfix expression into the infix expression we use stack and scan the postfix expression from left to right.(a) True(b) FalseMy question is from Application of Stacks in division Application of Stacks of Data Structures & Algorithms IThe question was asked in a national level competition.

Answer»

The correct option is (a) True

Easy explanation - Stack is used to POSTFIX expression to INFIX expression. And to convert we follow the following STEPS: (i) Scan the expression from left to right. (ii) If operand is found, push it on stack.(iii) If OPERATOR is found, the TWO operands are popped and the combined infix expression is formed and pushed onto the stack.



Discussion

No Comment Found

Related InterviewSolutions