C++ program How to turn off a particular bit in a number-Bit Algorithm-Given a number n and a value k, turn of the k’th bit in n.
left shifting a number by 1 is always equivalent to multiplying it by 2
1 Article
1
C++ program How to turn off a particular bit in a number-Bit Algorithm-Given a number n and a value k, turn of the k’th bit in n.