Pregunta de entrevista de Tata Consultancy Services

write a program to reverse the given array.