Vidyalelo
Data Structure · Q138

Introduction to Data Structures

Programming · Data Structure · question 138

Q138

Convert the following Infix expression to Postfix form using a stack. x + y * z + (p * q + r) * s, Follow usual precedence rule and assume that the expression is legal.

A.
xyz*+pq*r+s*+
Answer
B.
xyz*+pq*r+s+*
C.
xyz+*pq*r+s*+
D.
xyzp+**qr+s*+

Answer: Option A

Solution

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