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. a b c x + d e f ^ ^ -
B. a b c x + d e ^ f ^ -
C. a b + c x d - e ^ f ^
D. - + a x b c ^ ^ d e f
Answer: Option A
Related Questions on Introduction to Data Structures
A. A collection of data values
B. A programming language
C. A set of algorithms
D. A way of organizing and storing data

Join The Discussion