Capgemini Interview Question

a simple c programme