#include<stdio.h>
#include<conio.h>
#include<string.h>
#include<iostream.h>
void main()
{
char st1[100],st2[100];
clrscr();
cout<<"Enter first line of text : ";
gets(st1);
cout<<"Enter second line of text : ";
gets(st2);
strcat(st1,st2);
cout<<"\nAfter add the string :\n";
cout<<"First line of text : "<<st1<<"\n";
cout<<"Second line of text : "<<st2;
getch();
}
///////////////////////////////////////////////////////////////////////////
Copy & paste this code in your TC & run, then you will get output.......
If you have any problem please comment below.........