Subject |
use in |
have example |
*= | | example expression | equivalent longer expression |
---|
a*=b; | a=a*b; |
|
++ | prefix or postfix form | example expression | equivalent longer expression |
---|
a++; b=a++; ++a; b=++a; | a=a+1; b=a; a=a+1; a=a+1; a=a+1; b=a; |
|
+= | | example expression | equivalent longer expression |
---|
a+=b; | a=a+b; |
|
-- | prefix or postfix form | example expression | equivalent longer expression |
---|
a--; b=a--; --a; b=--a; | a=a-1; b=a; a=a-1; a=a-1; a=a-1; b=a; |
|
-= | | example expression | equivalent longer expression |
---|
a-=b; | a=a-b; |
|
/= | | example expression | equivalent longer expression |
---|
a/=b; | a=/b; |
|