#include int main() { int i; // two possibilities //(4 + 3) * 2 = 14 //4 + (3 * 2) = 10 <<< CORRECT! i = 4 + 3 * 2; // equivalent to: // i = 4 + (3 * 2); // multiplication and division have higher precedence than // addition and subtraction // i = 3 / 1 - 1; // equal to 2 // i = 4 * 3 / 2; // 4 * (3/2) = 4 // (4*3)/2 = 6 <<< CORRECT INTERPRETATION i = 7 % 2 * 3; // (7%2)*3 = 3 <<< CORRECT INTERPRETATION // 7%(2*3) = 1 i = 1 - -4 * 3; cout << "i is " << i << endl; }