The basic format of the assignment operator is: | |
| |
The assignment operator can also be stacked to create simultaneous assignments. | |
| |
Multiple assignment operators are evaluated from right to left. | |
| |
the value 3 is assigned to the variable x, which is then added to the value 4 and assigned to the variable y. | |
Once the expression is fully evaluated, y will contain the value 7. | |
|