Vidyalelo
Data Structure · Q27

Stacks in Data Structures

Programming · Data Structure · question 27

Q27

What is the correct order of stack operations when performing the infix to postfix conversion?

A.
Push operators onto the stack and pop them according to precedence
Answer
B.
Pop operators from the stack and push them according to precedence
C.
Directly append operators to the result
D.
Push and pop all operands

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board