How many times the loop, for (i=1;;i++), will execute, if there is no statement to terminate the loop?
1
O 0
infinite
none
ELLER
Answers
Answered by
10
Answer:-
Given code,
for(i=1;;i++)
The given loop will run infinite times as there is no conditions given to terminate the loop.
Answer:- Infinite times.
Answered by
4
Answer:
infinite times
Explanation:
Since there are no conditions in between and syntax is also correct, it will execute infinite times.
Similar questions