The C Programming Language

Front Cover
Prentice Hall, 1988 - Computers - 272 pages

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:

  • Types, operators, and expressions
  • Control flow
  • Functions and program structure
  • Pointers and arrays
  • Structures
  • Input and output

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

Other editions - View all

Bibliographic information