1 #include <stdio.h>
2 #include <string.h>
3 
4 int
main(void)5 main(void) {
6 	struct foo {
7 		int	x;
8 		char	*p;
9 	} f[2], b;
10 
11 	char	buf[128];
12 
13 	strcpy(buf, "hello");
14 
15 	f[0].x = 123;
16 	f[0].p = buf;
17 	printf("%d %s\n", f[0].x, f[0].p);
18 	b = f[0];
19 	printf("%d %s\n", b.x, b.p);
20 }
21 
22 
23