/in/foo.c:2:7: error: stray '\357' in program
int DM(int a);
^
/in/foo.c:2:8: error: stray '\274' in program
int DM(int a);
^
/in/foo.c:2:9: error: stray '\210' in program
int DM(int a);
^
/in/foo.c:2:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
int DM(int a);
^~~
/in/foo.c: In function 'DM':
/in/foo.c:11:10: error: 'n' undeclared (first use in this function)
int max[n];
^
/in/foo.c:11:10: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:18:6: error: 'j' undeclared (first use in this function)
for(j=0;j<m;j++)
^
/in/foo.c:11:6: warning: unused variable 'max' [-Wunused-variable]
int max[n];
^~~
/in/foo.c: At top level:
/in/foo.c:21:9: error: 'max' undeclared here (not in a function)
int sum=max[0];
^~~
/in/foo.c:22:1: error: expected identifier or '(' before 'for'
for(i=1;i<m;i++)
^~~
/in/foo.c:22:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
for(i=1;i<m;i++)
^
/in/foo.c:22:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '++' token
for(i=1;i<m;i++)
^~
/in/foo.c: In function 'DM':
/in/foo.c:20:2: warning: control reaches end of non-void function [-Wreturn-type]
if(b[i]>max[j]) max[j]=b[i];}
^~