/in/foo.c: In function 'main':
/in/foo.c:9:3: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
scanf("%d",&a[i]);
^
/in/foo.c:18:2: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
printf("%2d %2d\n",a[i],b[i]);
^
/in/foo.c:18:2: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
/in/foo.c:6:10: warning: unused variable 'k' [-Wunused-variable]
int i,j,k;
^