/in/foo.c: In function 'main':
/in/foo.c:13:11: warning: passing argument 1 of 'moveleft' from incompatible pointer type [-Wincompatible-pointer-types]
moveleft(a,n);
^
/in/foo.c:3:6: note: expected 'long int *' but argument is of type 'int *'
void moveleft(long int a[],long int n);
^~~~~~~~
/in/foo.c:14:9: warning: passing argument 1 of 'output' from incompatible pointer type [-Wincompatible-pointer-types]
output(a,n);
^
/in/foo.c:4:6: note: expected 'long int *' but argument is of type 'int *'
void output(long int a[],long int n);
^~~~~~