A statement, the smallest independent computational unit, specifies an action to be performed. In most cases, statements are executed in sequence. The following is a summary of the statements available in C and C++:
labeled statements
identifier labels
case labels
default labels
expression statements
block or compound statements
selection statements
if statementsswitch statements
iteration statements
while statements
do statements
for statements
jump statements
break statements
continue statements
return statements
goto statements
declaration statements
try blocks