Vidyalelo
Data Structure · Q64

Stacks in Data Structures

Programming · Data Structure · question 64

Q64

Which of the following statement is incorrect with respect to evaluation of infix expression algorithm?

A.
Operand is pushed on to the stack
B.
If the precedence of operator is higher, pop two operands and evaluate
Answer
C.
If the precedence of operator is lower, pop two operands and evaluate
D.
The result is pushed on to the operand stack

Answer: Option B

Solution

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