- Home/
- PRT, TGT & PGT Exams/
- Article
_______ is an entry controlled loop
By BYJU'S Exam Prep
Updated on: September 13th, 2023

For is an entry controlled loop. Entry controlled loop are the loops used to test the condition first and the loop body will be executed. They are known as entry controlled loop because in such loops test condition is checked in the beginning of the loop. The example of this loop is “while loop”. For is termed as an entry control loop because it checks condition at entry level. It is a type of entry control loop because in For loop condition is checked first after which loop body executed. Such type of loop controls entry to the loop that’s why it is called entry control loop. There are various cases where For loop is used for example: when there is necessity to iterate over an array, while reading a file into a variable, to ask for user input, when the increment value is nonstandard
Table of content
Answer: For is an entry controlled loop
Before knowing the entry control loops, it is also important to know about loops. Loops are used in C programming language. Loops are the technique that can repeat a set of statements when the given condition is true. In C progammaing there are three types of loops including while loop, do while loop and for loop. The three loops are controlled by entry level or exit level. For is example of entry level loops whereas when statements is example of exit loops because in when the loop body is executed first and then the condition is checked
Summary: _______ is an entry controlled loop
For is an entry controlled loop. For is termed as an entry control loop because it checks condition at entry level. It is a type of entry control loop because in For loop condition is checked first after which loop body executed
Related Questions: