/in/foo.cc:4:34: error: declaration of 'c' as array of references
int Max(int xmin,int xmax,int &c[]);
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:10:6: warning: unused variable 'n' [-Wunused-variable]
int n=xmax-xmin+1;
^
/in/foo.cc: At global scope:
/in/foo.cc:25:34: error: declaration of 'c' as array of references
int Max(int xmin,int xmax,int &c[])
^
/in/foo.cc: In function 'int Max(...)':
/in/foo.cc:27:12: error: 'xmin' was not declared in this scope
for(int i=xmin; i<=xmax; i++)
^~~~
/in/foo.cc:27:21: error: 'xmax' was not declared in this scope
for(int i=xmin; i<=xmax; i++)
^~~~
/in/foo.cc:34:4: error: 'c' was not declared in this scope
c[a1]++;
^
/in/foo.cc:37:10: error: 'c' was not declared in this scope
int max=c[0];
^