Sequence Points, Swapping Vars (Was Re: Is...wrong with the compiler?)

Karl Heuer karl at haddock.ima.isc.com
Sun Sep 30 03:52:36 AEST 1990


In article <BURLEY.90Sep29045736 at world.std.com> burley at world.std.com (James C Burley) writes:
>Or is "a^=b^=a^=b" a nonstandard solution (in addition, perhaps, to being an
>inappropriate one)?

Exactly.  This was pointed out in one of the earlier incarnations of this
thread, but not this time around.

Karl W. Z. Heuer (karl at kelp.ima.isc.com or ima!kelp!karl), The Walking Lint



More information about the Comp.lang.c mailing list