23. The postfix form of the expression (A+ B)(CD- E)*F / G is?

a) AB+ CDE – FG /*
b) AB + CD* E – F *G /

c) AB + CD E – *F *G /
d) AB + CDE * – * F *G /

Answer: c
Explanation: (((A+ B)*(C*D- E)*F) / G) is converted to postfix expression as (AB+(*(C*D- E)*F )/ G) (AB+CD*E-*F) / G (AB+CD*E-*F * G/). Thus Postfix expression is AB+CD*E-*F*G/

Leave a Reply

Your email address will not be published.