Equivalence of while and for
For(expr1; expr2; expr3)
action
Is equivalent to
expr1;
while (expr2) {
action
expr3;
}
Previous slide
Next slide
Back to first slide
View graphic version