Write a program to cyclically rotate an array by one in C#

Output
Given array is 
1 2 3 4 5 
Rotated array is
5 1 2 3 4 

Comments

Popular posts from this blog

Input = INDIA, count each char in input string