Doubt doubt doubt

setBit and clearBit —> dono me difference kya h ???

kyuki dono me he hum ith ko change kar rahe h ???

hello @parth_tyagi

clear bit means changing the bit of given position to 0.

set bit means setting the bit at given position.