Question:
Shortcut assignment operators
Author: Christian NAnswer:
Compund assignment operators following the pattern •= (for any binary operator •): a += b; // is equivalent to a = a + b; a -= b; // is equivalent to a = a - b; a *= b; // is equivalent to a = a * b; a /= b; // is equivalent to a = a / b;
0 / 5 (0 ratings)
1 answer(s) in total