Cognizant interview question

Asked mainly about pointers, arrays