Virtusa Interview Question

write a code to reverse the array in any language