Advertisements
Advertisements
Question
How many times the following loop will execute? for (int i = 0; i < 10; i++)
Options
0
10
9
11
MCQ
Solution
10
shaalaa.com
Iteration Statements
Is there an error in this question or solution?
APPEARS IN
RELATED QUESTIONS
The set of statements that are executed again and again in iteration is called ______
How many types of iteration statements?
Which of the following is the exit control loop?
Which of the following is called the entry control loop?
A loop that contains another loop inside its body: ______
Write a for loop that displays the number from 21 to 30.
Write a while loop that displays numbers 2, 4, 6, 8.......20.