/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",&n);
^
/in/foo.c:9:11: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
scanf("%d",&arr[i]);
^
/in/foo.c:16:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
printf("%d",m);
^
/in/foo.c:16:2: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d",m);
^~~~~~~~~~~~~~