/in/foo.cc:8:24: error: expected ')' before ';' token
int Serch(int a[],int n;int j);
^
/in/foo.cc:8:30: error: expected initializer before ')' token
int Serch(int a[],int n;int j);
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:18:36: error: too many arguments to function 'int Serch(int*, int)'
cout<<Serch(cnt,10,Findmax(cnt,10));
^
/in/foo.cc:8:5: note: declared here
int Serch(int a[],int n;int j);
^~~~~
/in/foo.cc: At global scope:
/in/foo.cc:39:24: error: expected ')' before ';' token
int Serch(int a[],int n;int j)
^
/in/foo.cc:39:30: error: expected initializer before ')' token
int Serch(int a[],int n;int j)
^