Let's Learn Java Programming..... Through Lots of Coding Examples For Each Topic. Now Go For It ..!
Copy Strings / Copy Char Array #include #include 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; }