
Manipulating Bits
Find the Bit at ith Position To find the Bit at the ith Position we use AND Operator among the number and mask created by us.Mask consists of 1 at the ith position and all other vacant spots are filled with zero . To achieve this mask we use left shi...
Aug 4, 20243 min read

