Garmin interview question

Bit shifting problem using C