/in/foo.c: In function 'main':
/in/foo.c:14:5: warning: 'flag' may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d %d",m1,m2);
^~~~~~~~~~~~~~~~~~~~~
/in/foo.c:29:5: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(a[i]<m&&a[i]>0)
^
/in/foo.c:18:9: note: 'm' was declared here
{ int i,m,p,flag;
^
/in/foo.c:18:11: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
{ int i,m,p,flag;
^
/in/foo.c:14:5: warning: 'flag' may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d %d",m1,m2);
^~~~~~~~~~~~~~~~~~~~~
/in/foo.c:18:11: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
{ int i,m,p,flag;
^
/in/foo.c:29:5: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(a[i]<m&&a[i]>0)
^
/in/foo.c:18:9: note: 'm' was declared here
{ int i,m,p,flag;
^
/in/foo.c: In function 'FindiMinPos':
/in/foo.c:18:11: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
{ int i,m,p,flag;
^
/in/foo.c:35:9: warning: 'flag' may be used uninitialized in this function [-Wmaybe-uninitialized]
return flag;
^~~~
/in/foo.c:29:5: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(a[i]<m&&a[i]>0)
^