You are not putting '\0' at the end of your character arrays, so they are not strings.

You should declare your strings like this:


char String1[10] = "The boys ";
char String2[7] =...