Goodreads helps you keep track of books you want to read.
Start by marking “The C Programming Language” as Want to Read:
The C Programming Language
Enlarge cover
Rate this book
Clear rating
Open Preview

The C Programming Language

4.42  ·  Rating details ·  8,794 ratings  ·  410 reviews
This book is meant to help the reader learn how to program in C. It is the definitive reference guide, now in a second edition. Although the first edition was written in 1978, it continues to be a worldwide best-seller. This second edition brings the classic original up to date to include the ANSI standard.

From the Preface:
We have tried to retain the brevity of the
...more
Paperback, Second Edition, 288 pages
Published April 1st 1988 by Prentice Hall (first published 1978)
More Details... Edit Details

Friend Reviews

To see what your friends thought of this book, please sign up.

Reader Q&A

To ask other readers questions about The C Programming Language, please sign up.
Popular Answered Questions
Danny This is it. Even after all these years, it's still the go-to resource for learning about C programming. Some call it "the C bible".…moreThis is it. Even after all these years, it's still the go-to resource for learning about C programming. Some call it "the C bible". (less)

Community Reviews

Showing 1-30
Average rating 4.42  · 
Rating details
 ·  8,794 ratings  ·  410 reviews


More filters
 | 
Sort order
Start your review of The C Programming Language
Nick Black
Dec 07, 2007 rated it it was amazing
Recommended to Nick by: Jim Greenlee
Found myself rereading this the other day, after recommending Chapter 8 to a young engineer seeking the Truth behind malloc(3)...still as fresh as the day it was printed, although I do note minor failings now (ubiquitous definitions of "MAXLINE" to 1000 rather than idiomatic use of ANSI/ISO's BUFSIZ, rather more use of "register" than I care to see in peacetime, etc). Also, when are we getting an update for C99? I'd like to see more people making proper use of <stdint.h> than is today ...more
Manuel Antão
Oct 20, 2018 rated it it was amazing
Shelves: 2011, 1985
If you're into stuff like this, you can read the full review.


RIP Ritchie (1941-2011): "The C Programming Language" by Kernighan and Ritchie



//Cenesis, chapter 1
#include
int main()
{
puts("In the beginning, when Ritchie created the Unix and the C");
puts("and the UNIX was without form or shape, with darkness over the abyss and a mighty wind sweeping over the waters");
puts("Then Riche said: hello, world, and there was code");
puts("Riche saw that the code was good. Ritchie then separated the code
...more
Manny
Feb 12, 2009 rated it it was amazing
Shelves: science
If you're a geek, you have to prostrate yourself in the direction of Bell Labs whenever this book is mentioned. I'm not really a geek, so it's optional.

Well, perhaps I'd better do it anyway. Just in case.

Michael Finocchiaro
For evolution of the planet earth and our modern understanding of biology, there was Darwin's Origin of the Species. For mathematics, there was Newton's Philosophiæ Naturalis Principia Mathematica. Well, for the internet, for Facebook, for LinkedIn, Twitter, Instgram, Snapchat, WhatsApp, Pornhub amd even the odious website for Justin Bieber would never have existed without Kernigan and Ritchie (more affectionately known as K&R)'s classic, The C Programming Language. What language was TCP/IP ...more
Dominik
Feb 04, 2012 rated it it was ok
Shelves: technology
Certainly a book hyped by many folks, calling it the to read when learning C.

Well, in reality it's just that, hyped. There is no objective reason why this book is a must-read or good at all. Sure, it does cover the important aspects of C, but it's very shallow, never going into details. As such, it's as good as every "Learning $language in $small_amount days".
P Doerr lulz
Mar 25, 2008 rated it it was amazing
Excellent A+++++++ Would read again!
The C Programming Language is THE VERY BEST way to learn the C programming language. Starting with the basic "Hello World" program, this book covers everything (of course, as the official guide to the language this is expected). As any programmer worth his salt will tell you, C is one of the most useful languages, and at least basic knowledge is mandatory.
Jim
Dec 17, 2012 rated it it was amazing
I read this years ago when I was first taking C. I don't have this edition, but an earlier one. After wading through several other books, I kept coming back to this one as a reference while programming. It is deceptively short & sweet. Re-reads constantly found me more avenues to explore using their basics.

I gave a copy to my son & he came to the same conclusion. While other, larger, & more specific books come & go as C evolves, this basic work is a must for any serious
...more
Roy Vanegas
Apr 16, 2009 rated it did not like it
Regardless of the fact that the architect of the language is a co-author, this book is simply not a good book on discussing the intricacies of C, a language replete with low-level details defining its behavior.

Everything, including a discussion on sequence points and side effects, among other topics, is included in Peter Prinz's and Tony Crawford's C in a Nutshell, which is masterful in its coverage of the language. Combine C in a Nutshell with Summit's C Programming FAQs and you have the entire
...more
Darshana Unnikrishnan
The book is missing many important parts of the subject. Also the explanations are not so good. Not suitable for someone who wants to learn the subject from scratch. May be an experienced professional might be able to benefit from the book better.

As for me I was just trying brush up the knowledge I had about this subject but didn't find the book that useful.
Jeffrey Rubard
Aug 12, 2018 rated it it was amazing
You Say You Want to Learn to Program, Well, You've Got to Read This Book...

The C Programming Language (1978, rev. 1988) is rather totally the most important book ever written about computer science. As the language's name "C" indicates it was not the first language to include block form (that was Algol, a "committee" prototype language never used extensively in industry) and modern control structures, but its centrality and ubiquity in programming projects up to the present day has meant that
...more
Barry
Aug 12, 2008 rated it it was amazing
Shelves: computer-science
I can't say I learned how to program C using this book -- that distinction goes to the long-forgotten Microsoft Quick C for Windows manuals and a reference manual put out by the Waite Group. I can't even say that I need to consult this very often anymore, although it will quickly clear up any questions you might have about arrays of pointers to unions of structs.

This book is the ideal presentation of a language. (When was the last time you saw both the grammar and standard library of a language
...more
Christopher
Jun 15, 2008 rated it it was amazing
Ok dudes, this is THE book. If you want to know how to program in C, the once and future language of all computing, you must buy this book.

EFF this C#, CLI, J#, VB, and all those other abominational languages that are trying to kill good programming skills. If you want to learn how to really program you need to DO this book.

You don't read this book, you DO it! Thought I made a typo, huh? As a general rule, shorter books are better than those SAMS-type 1000 page tomes, teach you more, and are
...more
Arun
Aug 30, 2019 rated it it was amazing
Used to remember reading this in high school (coming to me only in vague shapes of green with distorted contours of my school lab receding from my minds grasp)...

A masterpiece of pure technical brilliance. You gotta C and read() for yourself.
Kyusik Chung
Mar 17, 2011 rated it really liked it  ·  review of another edition
Truly the C Bible

If only all programming books were this succinct and to the point...
Wouter
Jul 13, 2018 rated it really liked it
Oldschool but still relevant, just as the language. It's not a thick book, compared to the four times heavier C++ Primer and that's exactly how I feel about both languages. The C Prog. lang. does a fine job at explaining the key components of the C language using rudimentary code - and I like that, because that's what you'll encounter in the C world. The quicksort implementation using pointers for example. There's not much to say: it's a great introduction and reference, although learning C can ...more
Brian Salehi
Feb 05, 2020 rated it it was amazing
Great covering of C programming language in a small book!
This book is the Bible of C, so every C programmer must read this.
Though, I don't recommend reading this as the first C book!
Maybe C Primer Plus by Stephen Prata is the best for newcomers.
Anyway, Dennis Ritchie has done so much favor to the world and this book is the smallest one given by him.
I will read this book again later.
Joe Cole
Jan 24, 2017 rated it it was amazing
Yet despite this, I believe there are alternative books which would have made the learning experience at first much easier.

If you have zero experience with programming or C in general, C Programming Absolute Beginner's Guide by Greg Perry and Dean Miller would be the best place to start. It does not get any simpler than this and the book is written with this in mind.
Serg
Mar 14, 2020 rated it it was amazing
Shelves: classics
a masterpiece of modern literature
Sookie
Jan 25, 2017 rated it it was amazing
Shelves: non-fiction


** Pointers - how I miss thee...
Stefan Kanev
Dec 25, 2013 rated it really liked it
This is a great book, definitely worth reading.

It's not my first pass through it, but I still learned new stuff. It covers the language well, although it does not go into as much depth as I would like. It does not cover the practical aspects of system programming either.

The best thing about this book is the brevity. Everything is explained clearly and with as little text as possible. It might not be the best first book for C, but it is definitely a great second one.

Finally, this book is old. C
...more
Fahad Naeem
Jan 30, 2015 rated it liked it
Theme
In The C Programming Language, Brian went through from basics to advanced structures of C Programming language including data types to pointers. He also discussed some variants of programming in C on Linux.

Pros
1. He used excessive amounts of Preprocessor Macros in his codes which make code readable and easily understood.
2. His explanation of structures is of advanced level (which is a requirement).
3. File handling is also explained properly and extensively with the help of advanced level
...more
Frank
Oct 25, 2010 rated it really liked it  ·  review of another edition
This book (together with Kochan) helped me learn C, which quickly became my favorite programming language and remained so for many years. Contains the original 'hello, world' program which has been copied ad nauseum ever since. I know the authors released a second edition but I never looked at it, the first one was fine. I suspect the main reason for the second edition was to replace the classic K&R syntax with the ANSI standard.
Ettore Pasquini
Oct 07, 2010 rated it it was amazing
Recommends it for: software engineers
Recommended to Ettore by: CS101 professor
Shelves: technology
Any software (hell, even hardware) engineer has hopefully heard about this book. If you don't own it, buy it right now! You won't find a single engineer on Earth telling you this is something less that awesome. This book achieves the perfect balance between terseness and exhaustiveness.

Computer Science book writers and publishers: can we go back to a writing style where computer books are in the 150 - 200 pages range, instead of the regular 600 - 900? Come on.
Will
Sep 18, 2012 rated it it was amazing
One of the things that I like about the C programming language is that it is very small and simple to learn. This book is correspondingly small, yet it is comprehensive.

I already knew some C when I read this book, but reading this book gave me an appetite for understanding more about how compilers work and about the theory and design of programming languages.
Lucius
Sep 24, 2011 rated it really liked it
Reading this again, I'm finding that a lot of the coding style and practices are outdated, but it's still a good foundation for programming, and the C language in general is a good starting point if you want to work with native apps.
Andrew
Sep 01, 2012 rated it it was amazing
A classic. If you want to learn how to program, start here.
Hannah
Dec 23, 2016 rated it it was amazing
This is a really good introduction to C programming language with clear and concise explanations.
Mehdy Khoshnoody
Jan 02, 2017 rated it really liked it
Shelves: computer
it's a little bit more than just C! it taught me about computer
Sleeping with Ghosts
May 31, 2016 rated it really liked it
A hard and a bit difficult programming language.
Bwmson
Feb 01, 2009 rated it really liked it  ·  review of another edition
My very first computer programming book. Welcome to programming, here's C.
« previous 1 3 4 5 6 7 8 9 10 11 12 next »
topics  posts  views  last activity   
software development in karachi 1 1 Jun 28, 2019 06:57AM  

Readers also enjoyed

  • Introduction to Algorithms
  • The C++ Programming Language
  • Structure and Interpretation of Computer Programs (MIT Electrical Engineering and Computer Science)
  • Design Patterns: Elements of Reusable Object-Oriented Software
  • Code Complete
  • The Pragmatic Programmer: From Journeyman to Master
  • Cracking the Coding Interview: 150 Programming Questions and Solutions
  • Compilers: Principles, Techniques, and Tools
  • Effective C++: 55 Specific Ways to Improve Your Programs and Designs
  • JavaScript: The Good Parts
  • Algorithms
  • Artificial Intelligence: A Modern Approach
  • The Go Programming Language
  • Refactoring: Improving the Design of Existing Code
  • Clean Code: A Handbook of Agile Software Craftsmanship
  • Advanced Programming in the UNIX Environment
  • Programming Perl
  • Head First Design Patterns
See similar books…

Goodreads is hiring!

If you like books and love to build cool products, we may be looking for you.
Learn more »
155 followers
Brian Wilson Kernighan is a computer scientist who worked at Bell Labs alongside Unix creators Ken Thompson and Dennis Ritchie and contributed greatly to Unix and its school of thought.

News & Interviews

April is the most hopeful of months, promising warm days and sunshine just around the corner. The weather is a little unpredictable, sure, but tha...
67 likes · 14 comments
“C is not a big language, and it is not well served by a big book.” 1 likes
“Nevertheless, C retains the basic philosophy that programmers know what they are doing; it only requires that they state their intentions explicitly.” 0 likes
More quotes…