Rockley Photonics interview question

Basic C and embedded firmware engineering questions.