It is a bit-wise exclusive-or (XOR) which means each bit of the result is an ex-or of corresponding bits of arguments.
For example 10 ^ 3 == 9 because:
10 ^ 3 == 9
binary decimal 1010 10 0011 3 ---- 1001 9
2.1m questions
2.1m answers
60 comments
57.0k users