Examveda

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


This Question Belongs to Data Structure >> Trees In Data Structures

Join The Discussion

Related Questions on Trees in Data Structures