mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
Update c.html.markdown (#2734)
This commit is contained in:
parent
c809a163b4
commit
98f213bc68
@ -269,7 +269,7 @@ int main (int argc, char** argv)
|
||||
|
||||
// While loops exist
|
||||
int ii = 0;
|
||||
while (ii < 10) { //ANY value not zero is true.
|
||||
while (ii < 10) { //ANY value less than ten is true.
|
||||
printf("%d, ", ii++); // ii++ increments ii AFTER using its current value.
|
||||
} // => prints "0, 1, 2, 3, 4, 5, 6, 7, 8, 9, "
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user