Changes between Version 11 and Version 12 of ResumedC
- Timestamp:
- Apr 29, 2009, 3:27:39 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ResumedC
v11 v12 132 132 {{{ 133 133 #!C 134 ++total; 135 /* is like */ 136 total = total + 1; 137 138 total++; 139 /* is like */ 140 newtotal = total; 141 total + 1; 142 /* Note that in 'newtotal' is assigned the value of 'total', and AFTER, total is incremented. First is asigned and after evaluated */ 134 number = 5; 135 result = number++; /* first is evaluated the expression, after is incremented, result is 5 */ 136 137 number = 5; 138 result = ++number; /* first is incremented, after is evaluated the expression, result is 6 */ 143 139 144 140 total += 2;