C - abhijeetk/chromium-development GitHub Wiki
-
XOR : When the number of 1's are odd : 1 When the number of 1's are even : 0
5 ^ 3 0000 0101 0000 0011
0000 0110
-
AND: Bitwise AND is exclusive. It eliminates the single 1's. (1 && 0 = 0) (0 && 1 = 0)
-
OR: Bitwise OR is inclusive. It includes single 1's. (1 || 0 = 1) (0 || 1 = 1)
-
Associativity & precedence Associativity: Read expression from L to R or R to L Precedence is priority.