# include<iostream>
# include<cstring>
using namespace std;
int main()
{
char str1[50],str2[50],str[100];
cout<<"Enter a string:";
gets(str1);
cout<<"Enter another string:";
gets(str2);
strcat(str,str1);
strcat(str,str2);
cout<<"The concatenated string is"<<str;
}