Capgemini Interview Question

Infinte for loop and while in C