Skip to Content
Embedded C Programming
book

Embedded C Programming

by Mark Siegesmund
September 2014
Beginner to intermediate
424 pages
10h 4m
English
Newnes
Content preview from Embedded C Programming
Chapter 6

Statements

Abstract

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.

Keywords

Statements ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical C Programming

Practical C Programming

B. M. Harwani

Publisher Resources

ISBN: 9780128013144