|
printf ("% d,% d\n", i, i ++); // This case is displayed as: 3,2
printf ("% d,% d\n", i, ++ i); // This case is displayed as: 3,3
printf ("% d,% d\n", i ++, i); // This case is displayed as: 2,2
printf ("% d,% d\n", ++ i, i); // This case is displayed as: 3,2
This result may be easier to understand ~~
As for the compiler you use,
Why did you get that result,
Need to analyze compiler behavior,
This is not necessary,
Because analysis is useless,
The feeling is to find a reasonable "excuse" to get a certain result,
Doesn't make any sense ... |
|