FIS interview question

Write a program to reverse the array without using second array