Netcracker Technology Interview Question

write a program to rotate an array right