Capgemini Interview Question

Asked questions in array and pointer