Set, Clear and Toggle a Given Bit of a Number in C
Write a C program to Set, Clear, and Toggle the given bit of a number. Setting a bit means that if Kth bit is 0, then set it to 1 and if it is 1 then leave it unchanged.Clearing a bit means that if Kth bit is 1, then clear it to 0 and if it is 0 then leave it unchanged.Toggling a bit means that if K