Assume +, -, * are usual arithmetic operators. * has the lowest precedence, + has the highest precedence and the precedence of - is medium. + and * are left-associative whereas - is right-associative. What is the value of the expression 3 - 8 + 2 - 9 * 3?
A. 4
B. 6
C. 8
D. 10
Answer: Option B
Related Questions on Trees in Data Structures
A. Inorder
B. Preorder
C. Postorder
D. Level-order

Join The Discussion