#include <stdio.h>
#include <string.h>
struct peaches{
char name[64];
};
struct coconut{
char name[64];
};
struct hawthorn{
char name[64];
};
union tin{
struct peaches p;
struct coconut c;
struct hawthorn h;
};
int main(){
union tin t;
strcpy(t.p.name,"桃");
strcpy(t.c.name,"椰子");
strcpy(t.h.name,"山楂");
printf("这个罐头瓶装%s\n",t.p.name);
return 0;
}