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
Answers
Answered by
2
Answer:
(a) None
Explanation:
As the condition provided will always be false.
Answered by
3
Answer:-
Option a i.e., none is the answer for the question.
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.
Similar questions