diff options
Diffstat (limited to '05/main.c')
-rw-r--r-- | 05/main.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -3,13 +3,13 @@ static char x = -2; typedef struct { int x; char y; - int z; + long z; + long q; } Structure; long main(int argc, char **argv) { -Structure s[] = {3, 5, -88,6,9,12}; - Structure *ps = s; - int *p = &ps->z; - return *p; + Structure s[] = {3, 5, -88,6,9,12,88,33}; + Structure t = s[0]; + return t.z; } |