#include <iostream>
#include <string.h>
using namespace std;
int main ()
{
char S1 [1000];
char S2 [1000];
cout<<"PLEASE ENTER A STRING : ";
cin>>S1;
cout<<"PLEASE ENTER ANOTHER STRING : ";
cin>>S2;
strcat(S1,S2);
cout<<"THE CONNECTED STRING IS : ";
cout<<S1<<endl;
return 0;
}
OUTPUT
No comments