Even C experts come across problems that require days of debugging to fix. This book helps to prevent such problems by showing how C programmers get themselves into trouble. Each of the book's many examples has trapped a professional programmer.
In addition to its examples, C Traps and Pitfalls offers advice on:
- avoiding off-by-one errors
- understanding and constructing function declarations
- understanding the subtle relationship between pointers and arrays
Distilled from the author's experience over a decade of programming in C, this book is an ideal resource for anyone,novice or expert, who has ever written a C program.