// The addition assignment operator ( += ) adds the value of the // right operand to a variable and assigns the result to the variable.
int x = 10; x += 10; // x = x + 10; i.e. x = 20 x =+ 5; // Equivalent to x = +5, so x = 5.