#include<stdio.h>
#define Max_size 100
int main(){
    char text1[Max_size]="C program to copy one string to another string";
    char text2[Max_size];
    int i=0;
    // 
    while(text1[i]!='\0'){
        text2[i]=text1[i];
        i++;
    }
   
    printf("%s\n",text2);
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: