Coding Exercises
Search...
Ctrl
K
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
2 years ago