Quad interview question

Write code to reverse the order of an array.