run code below, look at i,j int i; int j; i=254; j=255; while(1) { i=i++; j=j++; }
"i=i++ will keep value (don't change value of i)" Why? I'm sure we've had this one before - it's just an abuse of the post-increment operator.
"I'm sure we've had this one before" Found it: http://www.keil.com/forum/docs/thread534.asp
See the second paragraph of this article: http://cm.bell-labs.com/cm/cs/tpop/debugging.html