If bit position is found set , we flip this bit by xoring given number and number with bit position set
n = n ^ ( 1 << bit ) NEW_LINE break NEW_LINE print ( " The ▁ number ▁ after ▁ unsetting ▁ the " , end = " ▁ " ) NEW_LINE print ( " rightmost ▁ set ▁ bit " , n ) NEW_LINE