Statements may consist of a single
or a compound statement or block
or any of the following control constructs:
where if the condition <expression> evaluates to true (non-zero), <statement1> is executed, or to false (zero), <statement2> is executed, if present.
most commonly written as:
which evaluates the <expression>, which must be of integer
type, and branches to the first matching case label, <e,
which must be of constant integer type, where execution continues
through the remaining statement list in the switch.
which repeatedly evaluates the condition <expression>, and if true, executes the <statement>. If the condition is false, the while statement terminates.
which evaluates <expr1>, then repeatedly evaluates the condition, <expr2>, and if true executes <statement> followed by evaluating <expr3>. If the condition is false, the for statement terminates.
to return from a function.
used in switch and looping statements to immediately terminate the control construct.
used in loop constructs to immediately terminate the loop body statement and re-evaluate the condition.