Standard extensions (logical exclusive or)

Andrew Koenig ark at alice.UUCP
Thu Nov 8 01:35:39 AEST 1984


Joseph Orost suggests a new operator ^^ such that

	a^^b

would be equivalent to

	a? (b?0:1): (b?1:0)

What is wrong with writing

	a!=b

for this purpose?



More information about the Comp.lang.c mailing list