Cognizant Interview Question

A easy question on array was given