Chapter 5 Statements

The statements of a C program control the flow of program execution. In C, as in other programming languages, several kinds of statements are available to perform loops, to select other statements to be executed, and to transfer control. This chapter describes the following C statements in alphabetical order:

break statement
compound statement
continue statement
do statement
expression statement
for statement
goto and labeled statements
if statement
null statement
return statement
switch statement
while statement