Answer :

#include<stdio.h>

#include<string.h>

int main ()

{

char a[100];

char b[100];

printf("Enter the first content : ");

scanf("%s",&a);

printf("Enter the second content : ");

scanf("%s",&b);

strcpy(b,a);  //funtion of string

printf("The content is copied %s",b);

}

Output :