/in/foo.c: In function 'main':
/in/foo.c:6:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
scanf("%d",&c);
^
/in/foo.c:7:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
scanf("%d %d",&a,&b);
^
/in/foo.c:7:13: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=]
scanf("%d %d",&a,&b);
^
/in/foo.c:8:16: warning: statement with no effect [-Wunused-value]
for(i=0;i++;i<c) scanf("%d",&d[i]);
~^~
/in/foo.c:8:28: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
for(i=0;i++;i<c) scanf("%d",&d[i]);
^
/in/foo.c:9:16: warning: statement with no effect [-Wunused-value]
for(i=0;i++;i<c) printf("%d",d[i]);
~^~
/in/foo.c:9:29: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
for(i=0;i++;i<c) printf("%d",d[i]);
^