'goto" gone from computer languages or is it!
Tim Riker
Tim at rikers.org
Fri May 13 17:49:38 CDT 2005
Sean 'Captain Napalm' Conner wrote:
> So, to tie this in with the Zen Koan threads, what is the result of
>
> int i = 0;
> printf("%d %d %d\n",i++,i++,i++);
depends on the compiler. The spec leaves it open. gcc will likely do "0
1 2" but any where:
0 <= first <= second <= third <= 2
are valid iirc.
>
> (That's C code, just to let you know).
>
> -spc (Who knows the answer and is driving you towards the murkier parts of
> the C specification ... )
--
Tim Riker - http://rikers.org/ - TimR at Debian.org
Embedded Linux Technologist
BZFlag maintainer - http://BZFlag.org/ - for fun!
More information about the cctalk
mailing list