Garmin Interview Question

Simple puzzles to check coding skills in C.