100.0110.F. What would be printed out by the statement:

 

cout << ((++a >= b) && (c - a == b) || (c % b == 0));

 

 

WHY??

 

REMEMBER: location c now contains the value 4

 

            ((++a >= b) && (c - a == b) || (c % b == 0)) =

((++1 >= 2) && (4 - 2 == 2) || (4 % 2 == 0)) =

((2 >= 2) && (2 == 2) || (0 == 0)) =

((TRUE) && (TRUE) || (FALSE)) =

((TRUE) || (FALSE)) =

TRUE (= 1)