#include <stdio.h>
void stringcopy(char*dest,const char*src){
int i=0;
while(src[i]!='\0'){
dest[i]=src[i];
i++;
}
dest[i]='\0';
}
int main(){
char source[]="money heist";
char destination[30];
stringcopy(destination,source);
printf("copied string:%s\n",destination);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: