/in/foo.c: In function 'main':
/in/foo.c:6:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
scanf("%d",n);
^
/in/foo.c:10:11: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
scanf("%d\n",a[i]);
^
/in/foo.c:5:11: warning: unused variable 'm' [-Wunused-variable]
int n,m,i,k,max,count=0;
^
/in/foo.c:6:2: warning: 'n' is used uninitialized in this function [-Wuninitialized]
scanf("%d",n);
^~~~~~~~~~~~~