TOOLS AND TECHNIQUES FOR COMPILER DESIGN
MISCELLENOUS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
In the operator precedence rule, the + has highest precedence and right associative than-(minus) and * (multiplication). The-(minus) has high precedence and left associative than * . Finally * is right associative. Then compute the following expression:2*3*4+5+9-1-2
|
360
|
|
361
|
|
320
|
|
160
|
Explanation:
Detailed explanation-1: -Explanation: Option 1: Unary Operators have associativity right to left in C++.
There is 1 question to complete.