C

C program to read an array, accept a key & split the array and Add the first half to the end of second half