summaryrefslogtreecommitdiffhomepage
path: root/c.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'c.html.markdown')
-rw-r--r--c.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/c.html.markdown b/c.html.markdown
index 6d95f28b..f63adc05 100644
--- a/c.html.markdown
+++ b/c.html.markdown
@@ -260,7 +260,7 @@ int main() {
// While loops exist
int ii = 0;
- while (ii < 10) {
+ while (ii < 10) { //ANY value not zero is true.
printf("%d, ", ii++); // ii++ increments ii in-place
// after yielding its value ("postincrement").
} // => prints "0, 1, 2, 3, 4, 5, 6, 7, 8, 9, "