5.5 "C" Language Constructs -- 2 |
for
statementfor
statement:
for( expr_1; expr_2; expr_3 ) statementis equivalent to
expr_1; while( expr_2 ) { statement expr_3; }From Kernighan page 60.
do while
statement
do
statementwhile(
expression);
"The statement is executed, then the expression is evaluated. If it is true, statement is [executed] again, and so on." Kernighan p 62.
5.5 "C" Language Constructs -- 2 |