Bit manipulation is the act of algorithmically manipulating bits or other pieces of data shorter than a word. Bit manipulation makes use of the bitwise operations: AND, OR, XOR, NOT, and bit shifts.

Example Find least significant bit, find power of two.

Data structure problems
209 Verify bit endian or little endian
Write a program to find whether machine is big endian or little endian.
210 Counting set bits in Byte-Arrays
Write a program to count the set bits in byte arrays.
211 Count number of set bits in an Integer
Write a program to count number of set bits in an Integer.