Garmin Interview Question

Bit manipulation problems all in C