Design Engineers interview question

Based on c language and microcontroller