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
8.1k 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
8.3k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.