Standard extensions (logical exclusive or)

Paul D Fardy pdf at garfield.UUCP
Sat Nov 10 04:18:57 AEST 1984


The expression a ^^ b is not logically equivalent to a != b.
if a = 2 and b = 3, then a ^^ b is false,  but a != b is true.

1 is not true in C.  0 is false and !0 is true.



More information about the Comp.lang.c mailing list