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++);
IIRC it should output:
2 1 0
Not on my system:
0 1 2
I checked after I sent the message and my system output "2 1 0"... I am
using Watcom C 10.6 under QNX 4.25.
Interesting. Mine was gcc 3.42 under Solaris 2.9 (Ultra 10). Same
thing under AIX 4.3.3, with IBM's cc. However, under Linux (Redhat 7.1)
on an x86 platform with gcc 2.96, it gave "2 1 0".
Mike Loewen mloewen at cpumagic.scol.pa.us
The B9 Robot Builders Club B9-0014 http://ripsaw.cac.psu.edu/~mloewen/B9/
Old Technology http://ripsaw.cac.psu.edu/~mloewen/Oldtech/