Vidyalelo
Data Structure · Q102

Trees in Data Structures

Programming · Data Structure · question 102

Q102

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
Answer
C.
8
D.
10

Answer: Option B

Solution

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