#include <stdio.h>
void cc(char *str1, char *str2)
{
while (*str1++ = *str2++);
}
int main() {
char str1[50];
char *str2 = "asdfghjk!";
cc(str1, str2);
printf("Copied String: %s\n", str1);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: