Capgemini interview question

simple intern level array question