/in/foo.c: In function 'main':
/in/foo.c:10:2: warning: implicit declaration of function 'FindiMax' [-Wimplicit-function-declaration]
FindiMax(a,n);
^~~~~~~~
/in/foo.c: At top level:
/in/foo.c:13:6: warning: conflicting types for 'FindiMax'
void FindiMax(int a[],int n)
^~~~~~~~
/in/foo.c:10:2: note: previous implicit declaration of 'FindiMax' was here
FindiMax(a,n);
^~~~~~~~
/in/foo.c: In function 'FindiMax':
/in/foo.c:25:2: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d",j);
^~~~~~~~~~~~~~