Jan 17, 2009

Write the macro for Exclusive Or logical operator.

Write the macro for Exclusive Or logical operator.
#define MYXOR(A,B) ((A & ~B) | (~A & B))

No comments:

Post a Comment