Cognizant interview question

Arrays, Pointers, DSA , Coding,