aboutsummaryrefslogtreecommitdiffstats
path: root/test_deliverable/testcases/test_ASSIGNMULT.c
diff options
context:
space:
mode:
Diffstat (limited to 'test_deliverable/testcases/test_ASSIGNMULT.c')
-rw-r--r--test_deliverable/testcases/test_ASSIGNMULT.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/test_deliverable/testcases/test_ASSIGNMULT.c b/test_deliverable/testcases/test_ASSIGNMULT.c
new file mode 100644
index 0000000..215b0f8
--- /dev/null
+++ b/test_deliverable/testcases/test_ASSIGNMULT.c
@@ -0,0 +1,14 @@
+int assignmult()
+{
+ int x[10][10];
+ int j = 0;
+ int k = 0;
+
+ for(j = 0; j < 10; ++j)
+ for(k = 0; k < 10; ++k)
+ {
+ x[j][k] = j*10+k;
+ }
+
+ return x[4][2];
+}