please tell me, hOw can i Use XOR (^) Operator and what Library i have to use??
please tell me, hOw can i Use XOR (^) Operator and what Library i have to use??
It's an operator, you don't have to use a library.
My best code is written with the delete key.
XOR is the eXclusive OR operator.
0x8000 ^ 0x8000 = 0x0000
In laymen's terms. It flips bits.
0x0000 ^ 0x8000 = 0x8000