/in/foo.c: In function 'Output':
/in/foo.c:5:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
printf("%d ",a[i]);
^
/in/foo.c: In function 'main':
/in/foo.c:11:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
scanf("%d",&n);
^
/in/foo.c:14:11: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
scanf("%d",&a[i]);
^
/in/foo.c: In function 'Output':
/in/foo.c:7:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^