aboutsummaryrefslogtreecommitdiff
path: root/tests2/38_multiple_array_index.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests2/38_multiple_array_index.c')
-rw-r--r--tests2/38_multiple_array_index.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/tests2/38_multiple_array_index.c b/tests2/38_multiple_array_index.c
deleted file mode 100644
index 4e1868e..0000000
--- a/tests2/38_multiple_array_index.c
+++ /dev/null
@@ -1,32 +0,0 @@
-#include <stdio.h>
-
-int main()
-{
- int a[4][4];
- int b = 0;
- int x;
- int y;
-
- for (x = 0; x < 4; x++)
- {
- for (y = 0; y < 4; y++)
- {
- b++;
- a[x][y] = b;
- }
- }
-
- for (x = 0; x < 4; x++)
- {
- printf("x=%d: ", x);
- for (y = 0; y < 4; y++)
- {
- printf("%d ", a[x][y]);
- }
- printf("\n");
- }
-
- return 0;
-}
-
-/* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/