summaryrefslogtreecommitdiff
path: root/05/main.c
diff options
context:
space:
mode:
Diffstat (limited to '05/main.c')
-rw-r--r--05/main.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/05/main.c b/05/main.c
index b1c502c..45c13e0 100644
--- a/05/main.c
+++ b/05/main.c
@@ -7,9 +7,12 @@ typedef struct {
long q;
} Structure;
+Structure a = {1,2,3,-4};
long main(int argc, char **argv) {
- Structure s[] = {3, 5, -88,6,9,12,88,33};
- Structure t = s[0];
- return t.z;
+ Structure a = {1,2,3,4};
+ int x = 100;
+ a;a;a;a;a;
+ x = x + x, x = x + 2;
+ return x;
}