C Program to Concatenate Two Strings without using strcat()

#include<stdio.h>
#include<conio.h>
#include<string.h>
void main()
{
char sk[10], rk[10], st[20];
int i,j;
clrscr();
printf("Enter first string :");
scanf("%s",sk);
printf("Enter second string :");
scanf("%s",rk);
i=0;
j=0;
while(sk[i]!='\0')
{
st[j]=sk[j];
i++;
j++;
}
st[j]=' ';
j++;
i=0;
while(rk[i]!='\0')
{
st[j]=rk[i];
i++;
j++;
}
st[j]='\0';
printf("The Resultant string is %s",st);
getch();
}

Output:

C Program to Concatenate Two Strings without using strcat()