/in/foo.c: In function 'main':
/in/foo.c:36:6: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(a[i]>max)
^
/in/foo.c:27:8: note: 'max' was declared here
int i,max;
^~~
/in/foo.c:36:6: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(a[i]>max)
^
/in/foo.c:27:8: note: 'max' was declared here
int i,max;
^~~
/in/foo.c: In function 'FindMaxNeg':
/in/foo.c:36:6: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(a[i]>max)
^