Question d’entretien chez Continental

Basic C interview question, short problem solving task