Equivalence offor and while
while(expr)
action
Is equivalent to
for( ; expr; ) {
action
}
Previous slide
Next slide
Back to first slide
View graphic version