Infinite Loop (looping forever)
With for loop we can write
for( ; ; )
action
If expr2 (test) is missing, the condition is regarded as true.
With while, we can say
while ( 1 )
action
Previous slide
Next slide
Back to first slide
View graphic version