Infosys Interview Question

How to rotate an array?