PUZZLE IN C!!!!! write a C/C++ program to say whether a one number is equal to another or not without using RELATIONAL OPERATORS and ARTHMETIC OPERATORS????????
That's simple. A [XOR] B = 0 if A == B A [XOR] B != 0 if A != B Code: if(A^B) {printf("%d != %d\n",A,B);} else {printf("%d == %d\n",A,B);}