Compound Assignment Operators
Apart from the binary and the unary arithmetic operators, we also have compound assignment operators. These are +=, -=, *=, /=, %=. Using these operators, the expression
x = x + 5;
can also be written as
x += 5;
This helps in writing compact code.