/in/foo.c: In function 'main':
/in/foo.c:21:11: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
scanf("%d",a[i]);
^
/in/foo.c:23:11: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
scanf("%d",b[j]);
^
/in/foo.c:21:3: warning: array subscript is above array bounds [-Warray-bounds]
scanf("%d",a[i]);
^~~~~~~~~~~~~~~~
/in/foo.c:23:3: warning: array subscript is above array bounds [-Warray-bounds]
scanf("%d",b[j]);
^~~~~~~~~~~~~~~~