/in/foo.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int]
main()
^~~~
/in/foo.c: In function 'main':
/in/foo.c:9:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
scanf("%d",&n);
^
/in/foo.c:10:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
scanf("%d",&m);
^
/in/foo.c:11:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
printf("%d\n",n);
^
/in/foo.c:12:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
printf("%d\n",m);
^
/in/foo.c:31:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
printf("%d\n",n);
^
/in/foo.c:32:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
printf("%d\n",m);
^