Cognizant Interview Question

Asked mainly about pointers, arrays