Capgemini Interview Question

Program on structures