2.3.16.4. - Assignment Operators
Operator | Name | Result |
|
||
= |
Equals | L = R |
+= |
Plus equals | L = L + R |
-= |
Minus equals | L = L - R |
*= |
Times equals | L = L × R |
/= |
Divide equals | L = L / R |
%= |
Mod equals | L = L % R |
<<= |
Left-shift equals | L = L << R |
>>= |
Right-shift equals | L = L >> R |
&= |
Bitwise-and equals | L = L & R |
^= |
Bitwise-exclusive-or equals | L = L ^ R |
|= |
Bitwise-or equals | L = L | R |