summaryrefslogtreecommitdiff
path: root/05/main.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-02-02 13:43:20 -0500
committerpommicket <pommicket@gmail.com>2022-02-02 13:43:20 -0500
commit6ccef91d521fc077fa297a1d692eb829c1926a81 (patch)
tree5e97569e79f36f1569d0c3b79250fae0ce41ac54 /05/main.c
parentf4a83337517c7f95adea7bc470a0dd9696597df8 (diff)
array initializers more or less working
Diffstat (limited to '05/main.c')
-rw-r--r--05/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/05/main.c b/05/main.c
index fb2283e..6fb4a76 100644
--- a/05/main.c
+++ b/05/main.c
@@ -36,4 +36,6 @@ static char w[] = "friendly";
static char x_[] = "hi";
typedef int A[sizeof x_ + sizeof u];
-static int a[3] = {1,2,3};
+static int a[5] = {1,2,3};
+static char b[6][7] = {{'a'},{'b'},{'c'},{'d'},{'e'}};
+static int _u = 0x12345678;