From bc65ccf919a418a97b49f5d4fa92120ad3026b40 Mon Sep 17 00:00:00 2001 From: kenbhatt <44290957+kenbhatt@users.noreply.github.com> Date: Fri, 7 Dec 2018 14:39:16 +0530 Subject: [PATCH] My change is in line 18. (#23604) Initialize----->start value Condition---->stop value Termination----->step value --- guide/english/c/for/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/english/c/for/index.md b/guide/english/c/for/index.md index 7896076671..bf984d6334 100644 --- a/guide/english/c/for/index.md +++ b/guide/english/c/for/index.md @@ -17,7 +17,7 @@ for ( init; condition; increment ) { } ``` -The `for` loop consists of 3 sections, the initialization section, a specific condition and the incremental or decremental operation section. These 3 sections control the `for` loop. +The `for` loop consists of 3 sections, the initialization section(start value), a specific condition(stop value) and the incremental or decremental operation section(step value). These 3 sections control the `for` loop. The initialization statement is executed only once. Then, the test expression is evaluated. If the test expression is false (0), for loop is terminated. But if the test expression is true (nonzero), codes inside the body of for loop is executed and the update expression is updated. This process repeats until the test expression is false.