Capgemini interview question

Basics on C programming