[c] How do I get bit-by-bit data from an integer value in C?