Code:
#include <iostream.h>
#include <string.h>
#include <stdio.h>

char test(const char s1[10],const char s2[10]);

char test(const char s1[10],const char s2[10])
{
strcat(s1,s2);
cout<<s1;

return 'a';
}

int main()
{
	test("hello", "there");
return 0;
}
I get the error - 'strcat' : cannot convert parameter 1 from 'const char []' to 'char *'Conversion loses qualifiers.

I've tried every combination. Do you know whats wrong? Thanks