1.

Assume that the operators +,-, X are left associative and ^ is right associative.The order of precedence (from highest to lowest) is ^, X, +, -. The postfix expression for the infix expression a + b X c d ^ e ^ f is

A. Abc X+ def ^^
B. Abc X+ de^f^
C. Ab+c Xd e ^f^
D. -+aXbc^ ^def
Answer» B. Abc X+ de^f^


Discussion

No Comment Found