From 642e7c551e0f6292be403ed893a6695130cf350a Mon Sep 17 00:00:00 2001 From: Levi Bostian Date: Sun, 1 Sep 2013 10:44:55 -0500 Subject: Add note to while loop in C. --- c.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c.html.markdown') 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, " -- cgit v1.2.3