#include<stdio.h>
#include<string.h>
main()
{
char source[] = "C program";
char destination[50];
strcpy(destination, source);
printf("Source string: %s\n", source);
printf("Destination string: %s\n", destination);
return 0;
}
Placement papers|C,C++,JAVA Programming Tutorials|
PROGRAMMING CONCEPTS Designed by PSD Style © 2011 All Rights Reserved.
0 comments:
Post a Comment