I am pretty new in C language. I am trying to use strcat, the following example works:
char s1[20] = "Happy ";
char s2[15] = "world";
char s3[40] = "";
strcat(s3,s1);
Although, i wanted to practise a bit the pointers i have seen earlier, so:
char *s1 = "Happy";
char *s2 = "World";
strcat(*s2,*s1);
produces argument of type "char" is incompatible with parameter of type "const char *. Again, this might be easy, but be as clarifying as possible