/* Programming to copy string */
#include<stdio.h>
#include<conio.h>
#include<string.h>
main()
{
	char a[50],b[50];
	int n1,n2;
	clrscr();
	printf("enter the first string\n");
	scanf("%s",a);
	printf("enter the second string\n");
	scanf("%s",b);
	strcpy(a,b);
		printf("Copy after the Strings=%s",a);
	getch();
}
/*
	input :
	enter the first string
	welcome
	enter the second string
	goodbye
	output:
	Copy after the Strings=goodbye
*/