TO FLIP ith BIT OF A NUMBER code example Example: TO FLIP ith BIT OF A NUMBER x = num ^ (1 << (i-1));