WD Interview Question

Basic bit-manipulation questions in C.