write a program to copy string with using string function .

#include<stdio.h>
#include<conio.h>
#include<string.h>
int main()
{
char str[]="AMIT",str2[10];
clrscr();
strcpy(str2,str);
printf("%s",str2);
return 0;
}


Comments

Popular posts from this blog

write a program for insertion sort with example.