/in/foo.c: In function 'main':
/in/foo.c:13:11: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
scanf("%d",a[i]);
^
/in/foo.c:17:11: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
scanf("%d",b[i]);
^
/in/foo.c:21:11: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
scanf("%d",c[i]);
^
/in/foo.c: In function 'SetInter':
/in/foo.c:30:15: warning: statement with no effect [-Wunused-value]
for(i=0;i++;i<n1)
~^~~