Vidyalelo
Data Structure · Q132

Stacks in Data Structures

Programming · Data Structure · question 132

Q132

Consider the postfix expression 4 5 6 a b 7 8 a c, where a, b, c are operators. Operator a has higher precedence over operators b and c. Operators b and c are right associative. Then, equivalent infix expression is

A.
4 a 5 6 b 7 8 a c
B.
4 a 5 c 6 b 7 a 8
C.
4 b 5 a 6 c 7 a 8
Answer
D.
4 a 5 b 6 c 7 a 8

Answer: Option C

Solution

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