C examples for Reference:Language Reference
Operator | Example | Expanded Version, if any |
---|---|---|
= | var = expr | No expansion |
+= | var += expr | var = var + expr |
-= | var -= expr | var = var - expr |
*= | var *= expr | var = var * expr |
/= | var /= expr | var = var / expr |
%= | var %= expr | var = var % expr |
&= | var &= expr | var = var & expr |
|= | var |= expr | var = var | expr |
^= | var ^= expr | var = var ^ expr |
>>= | var >>= expr | var = var >> expr |
<<= | var <<= expr | var = var << expr |