Quad Interview Question

Write code to reverse the order of an array.