give the program for creation of infinite loop using for loop. (class 12 ip)
Answers
Answered by
2
Answer:
The for-loop follows four steps:
Init. The init code runs once to set things up at the very start of the loop. ...
Test. The boolean test is evaluated. ...
Loop-body. If the test was true, the body runs once. ...
Increment. Finally, the increment code executes just after the body, and then the program loops back to the test, (step 2)....
Similar questions