bars
Coding Exercises
search
circle-xmark
⌘
Ctrl
k
copy
Copy
chevron-down
others
chevron-right
C
chevron-right
Bitwise
XOR without using ^ operator
Copy
int xor(const int x, const int y) {
return (x | y) & (~x | ~y);
}
Previous
Bitwise
chevron-left
Next
SQL
chevron-right
Last updated
3 years ago