This chapter details each of the C executable statements. Conditional, loop, and jump statements are shown with a narrative, examples, and diagrams. The best use of compound statements and nested statements is fully explained. C labels are included in this chapter for use with the discouraged goto statement.
Source code indentation is shown and explained to improve code readability. Good documentation practices for program control flow are introduced including flowcharts and pseudo-code. This chapter also teaches the reader about standard metrics to determine overall code complexity and maintainability.
Examples and exercises are for the popular PIC microcontroller manufactured by Microchip.