#include<stdio.h>
#include <string.h>
struct mys
{
int a;
char b;
char c[100];
};
int main()
{
struct mys s1={11,'w',"asdfgh"};
struct mys s2;
s2=s1;
s2.a=10;
s2.b='j';
strcpy(s2.c,"nffnnffn");
printf("%d \n%c\n %s\n",s1.a,s1.b,s1.c);
printf("%d \n%c\n %s\n",s2.a,s2.b,s2.c);
}
To embed this project on your website, copy the following code and paste it into your website's HTML: