UMBC CS 201, Fall 98
UMBC CMSC 201 & 201H Fall '98 CSEE | 201 | 201 F'98 | lectures | news | help

Strange Assignment Operators

C's Shorthand Assignment Operators
operator shorthand equivalent
+= X += Y X = X + Y
-= X -= Y X = X - Y
*= X *= Y X = X * Y
/= X /= Y X = X / Y
%= X %= Y X = X % Y


CSEE | 201 | 201 F'98 | lectures | news | help

Monday, 07-Sep-1998 15:02:28 EDT