XOR (^)
RU: XOR (^)
The bitwise operator whose result bit is 1 only if the input bits differ. Used to toggle bits and find differences: 1100 ^ 1010 = 0110. XOR is its own inverse: x ^ y ^ y equals x.
RU: XOR (^)
The bitwise operator whose result bit is 1 only if the input bits differ. Used to toggle bits and find differences: 1100 ^ 1010 = 0110. XOR is its own inverse: x ^ y ^ y equals x.