Cognizant interview question

Program to reverse an array of 10 numbers