foo.c: In function ‘FindiMinPos’:
foo.c:15:16: warning: ‘p’ may be used uninitialized [-Wmaybe-uninitialized]
15 | return p;
| ^
foo.c:6:13: note: ‘p’ was declared here
6 | int p;
| ^
foo.c: In function ‘main’:
foo.c:32:9: warning: ‘p’ may be used uninitialized [-Wmaybe-uninitialized]
32 | printf("%d ",FindiMinPos(n1,arr1));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:6:13: note: ‘p’ was declared here
6 | int p;
| ^
foo.c:33:9: warning: ‘p’ may be used uninitialized [-Wmaybe-uninitialized]
33 | printf("%d",FindiMinPos(n2,arr2));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:6:13: note: ‘p’ was declared here
6 | int p;
| ^