Assignment operator
Assignment operator is a symbol used to assign a value or a result of an expression to an identifier. There are several different assignment operator in c. All of them are used to form assignment expression.
| Operator | Purpose |
|---|---|
| += | Add and assign |
| -= | Subtract and assign |
| *= | Multiply and assign |
| /= | Divide and assign |
| %= | Takes modulus and assign |
Post a Comment