I have two char arrays (char string1[7] and char string2[256]) which I need to print in a specific format. Both strings have a random number of entries terminated with a '\0' null byte.

* I need to print string1
* followed by a space on 9th character
* followed by string2 - which MUST begin printing from the 10th character onwards.

I have tried implementing this by copying the strings to a new array which I can print directly, however it is not working.

```
 while(string2[i]!='\0')
        {   

                if(i<9 && string1[i]!='\0')
                {
                    Printline[i]=string1[i];
                }
                else if (i>9)
                {
                    Printline[i]=string2[i];
                }
                i++;

        }

        printf("%s\n",Printline);

```

Any help is much appreciated :)