Digit Insurance interview question

reverse an array without using a method. even streams are not allowed