This eBook includes the following formats, accessible from your Account page after purchase:
EPUB The open industry format known for its reflowable content and usability on supported mobile devices.
PDF The popular standard, used most often with the free Adobe® Reader® software.
This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.
Also available in other formats.
Register your product to gain access to bonus material or receive a coupon.
The definitive reference guide to C programming from K&R for writing good code that works and is easy to modify
Learn how to program in C from the developers of C, Brian Kernighan and Dennis Ritchie. Intended for those with at least some experience with one other language (even if you are a novice), this book contains a tutorial introduction to get new users started as soon as possible and separate chapters on each major feature:
This second edition of The C Programming Language describes C as defined by the ANSI standard and includes a reference manual that conveys the essentials of the standard in a smaller space for easy comprehension for programmers.
"K&R is one of my favorite books. The style of the tutorial chapters is so deceptively light and simple and the manual so crisp. Much of C's reputation of simplicity comes from the clarity and great little examples from this book. My 1978 copy has lost its cover and my K&R2 is somewhat dog eared. Above all, K&R is a useful book."
Bjarne Stroustrup, designer and original implementer of C++, and author of The C++ Programming Language
This zip file contains the programs from the second edition of "The C Programming Language" by Brian Kernighan and Dennis Ritchie.
There is one directory for each book chapter. Some of the directories contain test files that are not part of the book, but that were used in its production.
1. A Tutorial Introduction.
2. Types, Operators, and Expressions.
3. Control Flow.
4. Functions and Program Structure.
5. Pointers and Arrays.
7. Input and Output.
8. The UNIX System Interface.