C. What would be displayed by the line:
cout <<
ilocation1 + ilocation1 * 2 + ++ilocation2 % 2 - 4;
Why??
ilocation1 + ilocation1 * 2 + ++ilocation2
% 2 – 4 =
52
+ 52 * 2 +
++(5)
% 2 – 4 =
52
+ 52 * 2 +
6 % 2 – 4 =
52
+ 104 + 0 - 4 =
156 + 0 - 4 =
156 - 4 =
152