1.

The expression 5 -2 - 3 * 5 - 2 will evaluate to 18, if

A. - is left associative and * has precedence over -
B. - is rightt associative and * has precedence over -
C. - is right associative and - has precedence over *
D. - is left associative and - has precedence over *
Answer» D. - is left associative and - has precedence over *


Discussion

No Comment Found