#include<stdio.h>
main()
{
char first[20], second[20],result[40];
int i,j;
printf("Enter first string:");
gets(first);
printf("Enter second string:");
gets(second);
for(i=0;first[i]!='\0';i++)result[i]=first[i];
for(j=0;second[j]!='\0';i++,j++)result[i]=second[j];
printf("%s",result);
}