/in/foo.c: In function 'FindiMax':
/in/foo.c:8:7: error: subscripted value is neither array nor pointer nor vector
if(b[m]<b[i])
^
/in/foo.c:8:12: error: subscripted value is neither array nor pointer nor vector
if(b[m]<b[i])
^
/in/foo.c: In function 'main':
/in/foo.c:16:3: error: expected ';' before 'for'
for(i=0;i<n;i++)
^~~
/in/foo.c:19:6: error: expected ')' before 'return'
return 0;
^~~~~~
/in/foo.c:20:2: error: expected ';' before '}' token
}
^
/in/foo.c:14:17: warning: unused variable 'i' [-Wunused-variable]
int n,c[10000],i;
^