Statements (C)

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

For the latest documentation on Visual Studio 2017, see Statements (C) on docs.microsoft.com. 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 statementif statement
compound statementnull statement
continue statementreturn statement
do-while statementswitch statement
expression statementtry-except statement
for statementtry-finally statement
goto and labeled statementswhile statement

C Language Reference

Show: