Myself interview question

How to reverse an array without using built in functions.