7.3 Expression Statements

Any valid expression can be used as a statement by following the expression with a semicolon, as shown in the following example:

i++;

This statement increments the value of the variable i . Note that i++ is a valid C expression that can appear in more complex C statements. For more information about the C expressions, see Chapter 6.


Previous Page | Next Page | Table of Contents | Index