Program to Copy one string into other using string function in c language.


//www.lernc.blogspot.com

#include
#include
#include

main()
{
char a[15],b[15];
clrscr();
printf("\n Given the string \n");
gets(a);
strcpy(b,a);
printf("\n Copied string is ");
puts(b);
}

//www.lernc.blogspot.com

No comments:

Post a Comment