<=> and obfuscation

Gino Bloch gino at voder.UUCP
Tue Feb 12 10:32:38 AEST 1985


> > [Aren't you hungry...]

> > 	To exchange two items without an intermediate variable, try:
> > 	b ^= a ^= b ^= a

> However, if a == b when you start out, you end up with a == 0 && b == 0.
Not according to my truth table
-- 
Gene E. Bloch (...!nsc!voder!gino)
The opinions expressed above are accidents.



More information about the Comp.lang.c mailing list