/in/foo.c: In function 'main':
/in/foo.c:75:5: warning: 'return' with no value, in function returning non-void
return;
^~~~~~
/in/foo.c:4:5: note: declared here
int main()
^~~~
/in/foo.c:102:4: warning: 'return' with no value, in function returning non-void
return;
^~~~~~
/in/foo.c:4:5: note: declared here
int main()
^~~~
/in/foo.c:7:25: warning: unused variable 'flag1' [-Wunused-variable]
int max,i,j,pos,flag=0,flag1=0,t,m;
^~~~~
/in/foo.c:7:14: warning: variable 'pos' set but not used [-Wunused-but-set-variable]
int max,i,j,pos,flag=0,flag1=0,t,m;
^~~