1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
struct { double a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t; } foo, bar; foobar () { foo = bar; xxx (&foo, &bar); } main () { bar.g = 1.0; foo.g = 2.0; foobar (); printf ("%lf\n", foo.g); }