Coding Exercises
Ctrl
k
Copy
others
C
Bitwise
XOR without using ^ operator
Copy
int xor(const int x, const int y) {
return (x | y) & (~x | ~y);
}
Previous
Bitwise
Next
SQL
Last updated
3 years ago