diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-03-28 17:00:19 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-03-28 17:00:19 +0100 |
commit | 21e4016317af3eaf03ffc36bfd90a7a2af4a354f (patch) | |
tree | ea215f91757d0aaae5626aa078aa66bc62cddf5c /test_deliverable/testcases/test_MULTARR1.c | |
parent | 915c49f93d9a4120dc89872f609824603b9310bb (diff) | |
download | Compiler-21e4016317af3eaf03ffc36bfd90a7a2af4a354f.tar.gz Compiler-21e4016317af3eaf03ffc36bfd90a7a2af4a354f.zip |
Working array arithmatic
Diffstat (limited to 'test_deliverable/testcases/test_MULTARR1.c')
-rw-r--r-- | test_deliverable/testcases/test_MULTARR1.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test_deliverable/testcases/test_MULTARR1.c b/test_deliverable/testcases/test_MULTARR1.c new file mode 100644 index 0000000..e3d11ee --- /dev/null +++ b/test_deliverable/testcases/test_MULTARR1.c @@ -0,0 +1,9 @@ +char multiarr1(char a, char b, char c, char d, char e) +{ + char x[2][3] = { + {a, b,}, + {c, d, e}, + }; + + return x[1][2]; +} |