#include<iostream.h>
#include<conio.h>
#include<string.h>
#include<stdio.h>
int main()
{
char name1[60], name2[60];
clrscr();
cout<<"Enter the text of string1 : "<<endl;
gets(name1);
strcpy(name2, name1);
cout<<"The text of string1 is : "<<name1<<endl;
cout<<"The text copied to string2 is : "<<name2;
getch();
return 0;
}