Code:#includeCode:<stdio.h> int main(){ for(;;) { printf("%d ",10); } return 0; }
The output is an infinite loop. What causes it to be an infinite loop?
Code:#includeCode:<stdio.h> int main(){ for(;;) { printf("%d ",10); } return 0; }
The output is an infinite loop. What causes it to be an infinite loop?
Stop asking us to do your homework assignments for you. How about you read about for loops in your textbook, and work out an answer on your own. If you're really stuck, tell us why YOU think it's an infinite loop, and we will tell you if it's right or wrong.