Garmin Interview Question

Bit shifting problem using C