struct foo { int a, b; char *s; }; struct bar { int x, y; char *s; } bar = { 10, 20, "bar" }; int main(int ac, char **av) { struct foo foo = { 1, 2, "foo" }; struct { int n1, n2; } hoge = { 0, 100 }; return foo.a + foo.b + bar.x + bar.y + hoge.n1 +hoge.n2; }