Try something around the lines of this
I'm really tired so the above probably has a glaring flaw somewhere.Code:#include <stdlib.h> int move(int array[]) { int max=sizeof(array)/sizeof(array[1]); int i; for (i=max;i<=0;--i){ array[i]=array[i-1]; } return 0; }