aboutsummaryrefslogtreecommitdiff
path: root/include/08.heap/heap21.c
diff options
context:
space:
mode:
Diffstat (limited to 'include/08.heap/heap21.c')
-rw-r--r--include/08.heap/heap21.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/08.heap/heap21.c b/include/08.heap/heap21.c
new file mode 100644
index 0000000..2ed3f8c
--- /dev/null
+++ b/include/08.heap/heap21.c
@@ -0,0 +1,10 @@
+ /* x will be incremented by one ONCE more in our FOR loop
+ * */
+ x += (y - 1);
+ continue;
+ }
+ }
+ }
+ }
+ return 0;
+}