'goto" gone from computer languages or is it!

der Mouse mouse at Rodents.Montreal.QC.CA
Fri May 13 17:33:41 CDT 2005


> Now, tell me what will be printed:

>     int i = 0;
>     i = i++;
>     printf("%d\n", i);

Whatever the implementation feels like giving you.

Again, i is being modified multiple times between sequence points, so
it's nasal demon time.

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse at rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


More information about the cctalk mailing list