Monday, 23 February 2015

STRCPY() FUNCTION IN C


#include<string.h>
#include<stdio.h>
#include<conio.h>
main()
{
char str1[50],str2[50];
clrscr();

strcpy(str1,"Anbu");
strcpy(str2,"Mani");
strcpy(str1,str2);

puts(str1);

getch();
}

No comments:

Post a Comment