Bit Manipulation — XORZula·FollowApr 1, 2022--ListenShareHow do I get zero for two same parameters? example: x ^ x = 0;Truth table of XORHow do I get new different value for xor of two parameters?example: 2 ^ 3 = 1; 2 ^ 5 = 7; 2 ^ 10 = 8;Answer:The XOR is done based on the truth table