KPIT Technologies interview question

1 . Reverese elements of the array