Statements (C)

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. Following a brief overview of statement syntax, this section describes the C statements in alphabetical order:

break statement

if statement

compound statement

null statement

continue statement

return statement

do-while statement

switch statement

expression statement

try-except statement

for statement

try-finally statement

goto and labeled statements

while statement

See Also

Concepts

C Language Reference