From ea983e5c136af85c1ce2e6f88da807529c23b142 Mon Sep 17 00:00:00 2001 From: varchasva-tiwari Date: Tue, 16 Oct 2018 09:24:35 +0530 Subject: [PATCH] Add info to the article (#19192) It is also known as an 'entry-controlled loop' since the condition is checked before the next iteration. Another example of an 'entry-controlled loop' is a while loop. --- client/src/pages/guide/english/c/for/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/pages/guide/english/c/for/index.md b/client/src/pages/guide/english/c/for/index.md index 7e84928fa6..5434222032 100644 --- a/client/src/pages/guide/english/c/for/index.md +++ b/client/src/pages/guide/english/c/for/index.md @@ -5,6 +5,7 @@ title: For Loop # For Loop The `for` loop executes a block of code until a specified condition is false. Use `while` loops when the number of iterations are variable, otherwise use `for` loops. A common use of `for` loops are array iterations. +It is also known as an 'entry-controlled loop' since the condition is checked before the next iteration. Another example of an 'entry-controlled loop' is a while loop. ## Syntax of For Loop