We have tried the brevity of the first edition. C is not a big language, and it is not well served by a big book. We have improved the exposition of critical features, such as pointers, that are central to C programming. We have refined the original examples, and have added new examples in several chapters. For instance, the treatment of complicated declarations is augmented by programs that convert declarations into words and vice versa. As before, all examples have been tested directly form the text, which is in machine-readable form.
Chapter 1 A Tutorial Introduction
- Getting Started
- Variables and Arithmetic Expressions
- The For Statement
Chapter 2 Types, Operators, and Expressions
- Variable Names
- Data Types and Sizes
- Constants
Chapter 3 Control Flow
- Statements and Blocks
- If-Else
- Else-If
etc.