#include<iostream.h>
#include<conio.h>
#include<string.h>
void main()
{
                char str1[10],str2[10];
                clrscr();
                cout<<"Enter First String : ";
                cin>>str1;
                cout<<"Enter Second String : ";
                cin>>str2;
                strcat(str1,str2);
                cout<<"\nThe Value Inside Str1 : "<<str1<<" And Inside Str2 : "<<str2;
                getch();
}

130.PNG

Advertisements