Correct Answer : B
Statement 1: a = 5
. a % 2 = 5 % 2 = 1
anda - 4 = 5 - 4 = 1
. Both values are equal. So statement 1 is true
.
Statement 2: a = 3
. a * 3 * 3 = 27
and ( a + 10 ) * 3 = ( 3 + 10 ) * 3 = 13 * 3 = 39
. But 27
is not greater than 39
. So statement 2 is false.
Statement 3: a = 7
. a * 7 * 3 = 147
and ( a * a + 7 * a + 3 ) = ( 7 * 7 + 7 * 7 + 3 ) = ( 49 + 49 + 3 ) = 101
. 147
is greater than 101
. So statement 3 is true.
Extra Tip: Operator Precedence (highest to lowest)
* / % left to right (associativity)
+ - left to right (associativity)