What are assignment operators?
There are two forms of assignment operators used in expressions. The first one is called the simple assignment operator and the other one is called the compound assignment operator. • Simple assignment operator: The simple assignment operator assigns the left operand with the value of the right operand. • Compound assignment operator: The compound assignment operator first performs the desired operation between the left and right operands and then assigns the result to the left operand.