85.9k views
15 votes
10. A loop statement is given as:

for(i=10;i<10;i++)
{
Statement
}
For how many times will the given loop statement be executed:
(a) none
(b) 1 time
(c) 10 times (d) infinite​

User Macroland
by
5.4k points

1 Answer

6 votes

Answer: a. None

Step-by-step explanation:

The loop will not run as the condition always returns false.

i=10 and the condition given: i<10 which is false always. So, the loop will not run.

User Azrahel
by
5.9k points