Vidyalelo
Data Structure · Q116

Stacks in Data Structures

Programming · Data Structure · question 116

Q116

While evaluating a postfix expression, when an operator is encountered, what is the correct operation to be performed?

A.
push it directly on to the stack
B.
pop 2 operands, evaluate them and push the result on to the stack
Answer
C.
pop the entire stack
D.
ignore the operator

Answer: Option B

Solution

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