/in/foo.c: In function 'FindMaxNeg':
/in/foo.c:7:10: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(a[j]<0&&a[j]>max)
~~~~~~^~~~~~~~~~
/in/foo.c: In function 'main':
/in/foo.c:7:10: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(a[j]<0&&a[j]>max)
~~~~~~^~~~~~~~~~
/in/foo.c:3:8: note: 'max' was declared here
{int j,max;
^~~
/in/foo.c:7:10: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(a[j]<0&&a[j]>max)
~~~~~~^~~~~~~~~~
/in/foo.c:3:8: note: 'max' was declared here
{int j,max;
^~~