1 2 3 4 5 6 7 8 9 10 11 12 13 14
struct st {char a, b, c, d; } zloop (struct st *s, int *p, int *q) { int i; struct st ss; for (i = 0; i < 100; i++) { ss = s[i]; p[i] = ss.c; q[i] = ss.b; } }