Buy used:
$198.54
$19.98 delivery October 21 - November 13. Details
Used: Good | Details
Condition: Used: Good
Comment: Item in good condition. Textbooks may not include supplemental items i.e. CDs, access codes etc...
Access codes and supplements are not guaranteed with used items.
Added to

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Follow the author

Something went wrong. Please try your request again later.

C Programming Language, 2nd Ed Subsequent Edition

4.7 4.7 out of 5 stars 4,121 ratings

1 HARDCOVER BOOK(no dust cover, as issued)
Popular Highlights in this book

Product details

  • Publisher ‏ : ‎ Prentice Hall; Subsequent edition (January 1, 1988)
  • Language ‏ : ‎ English
  • Hardcover ‏ : ‎ 272 pages
  • ISBN-10 ‏ : ‎ 0131103709
  • ISBN-13 ‏ : ‎ 978-0131103702
  • Item Weight ‏ : ‎ 1.3 pounds
  • Dimensions ‏ : ‎ 7.5 x 0.75 x 9.75 inches
  • Customer Reviews:
    4.7 4.7 out of 5 stars 4,121 ratings

About the author

Follow authors to get new release updates, plus improved recommendations.
Brian W. Kernighan
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Discover more of the author’s books, see similar authors, read book recommendations and more.

Customer reviews

4.7 out of 5 stars
4,121 global ratings

Customers say

Customers find the book informative, thorough, and a solid resource to learn C. They also describe the writing style as clear, succinct, and easy to read. Readers say the book is very worth the money and a priceless reference for C class. Opinions are mixed on the book being beginner-friendly and the exercises being difficult.

AI-generated from the text of customer reviews

155 customers mention "Reference value"132 positive23 negative

Customers find the book informative, thorough, and solid. They say it goes in depth into the C programming language and is good to know for embedded work. Readers also mention the book has plenty of code examples.

"...chapters, the appendix follows in an amazingly compact, yet thorough reference, which includes a C grammar, overview of the standard libraries, and..." Read more

"...Working through these exercises has helped me with logical thinking and having a better understanding of coding closer to the machine has improved..." Read more

"...It has plenty of code examples for you but it doesn't ever hand you the solution to the problems it challenges you with...." Read more

"...served by a big book." While relatively short, the book packs a ton of information with most sentences containing direct and clear language...." Read more

107 customers mention "Writing style"97 positive10 negative

Customers find the writing style of the book to be succinct, clear, and easy to read. They say the explanations are good and the book is relatively approachable. Readers also mention the video tutorials are exceptional.

"...Oftentimes, this reference is the most convenient and concise source for information (note that the C Standard is *the*..." Read more

"...Wrong! Picking up the syntax wasn't too difficult and I have a fairly good handle on more advanced concepts like pointers already, but this book is..." Read more

"...But it won't be easy.The book is clearly written with good examples and exercises. Some of those exercises are pretty hard!..." Read more

"...Later I went back and re-read the chapter and realized the explanations were good, but they require work and thought...." Read more

16 customers mention "Value for money"13 positive3 negative

Customers find the book very worth the money. They also say it's a priceless reference for C class.

"...Don't let the price fool you--The C Programming Language is worth its weight in gold!" Read more

"...Worth the money. Awesome book!" Read more

"...book is a good alternative to the original, authorized version and a lot cheaper...." Read more

"A great reference and learning book for an affordable price...." Read more

10 customers mention "Style"10 positive0 negative

Customers find the style of the book very approachable and straightforward. They appreciate the visual representations and sense of humor. Readers also mention the book is nice, informative, and complete about C.

"...The code examples provided are very helpful and exceptionally elegantly coded...." Read more

"...I have always had an interest in C because I love its simplicity...." Read more

"...one at that from a time when computers were arcane, but the style is very approachable...." Read more

"...The beauty of the book is discovered when the reader comes to understand that what is here somehow suffices.That said, this $#!..." Read more

6 customers mention "Content quality"6 positive0 negative

Customers find the content quality of the book very complete and informative. They say it's concise, to the point, and complete without being overwhelming. Readers also mention the chapters make sense and everything is explained well.

"...The material is described succinctly but also with great thoroughness...." Read more

"...Even so, the chapters make sense, and everything is explained well, but good luck doing the sample problems based upon what you learned in the..." Read more

"...It is a small but a very complete and informative book." Read more

"...A must have for CS students. Concise and to the point. Every word matters, the authors don't BS around." Read more

22 customers mention "Book for beginners"10 positive12 negative

Customers have mixed opinions about the book for beginners. Some mention it's great to get started with C, technical, and accessible to beginners. However, others say it's not a book for absolute beginners, is not a good learning resource, and that many examples are not particularly interesting.

"...Absolutely... This was a hard book to read. I think if you're a low level programmer and that's your thing you will get more out of it than I did...." Read more

"...In short, this book is an excellent starting point for someone wanting to learn C, or for someone who is starting out in programming...." Read more

"...This is not a book for skimming through. There are also exercises included at the end of many sections for those looking to master C...." Read more

"...First C by David Griffiths is another recommendation which is beginner friendly...." Read more

12 customers mention "Exercise difficulty"6 positive6 negative

Customers have mixed opinions about the difficulty of the exercises in the book. Some say they're fantastic and challenging, while others say they're difficult for beginners.

"...perfect blend of reference material, practical knowledge and challenging exercises. There is absolutely no fluff and not a single word is wasted...." Read more

"...Some of those exercises are pretty hard! I skipped most of them, because I have my own projects I want to do instead...." Read more

"...loops, etc within the first few chapters, with plenty of exercises to work through...." Read more

"...most junior members commented on was that the solutions to exercises were in another book that they had to purchase." Read more

Worth The Money
4 out of 5 stars
Worth The Money
This book is well printed, has a complete Table of Contents, an appendix, and an index. This is my first and only recommendation for learning C ESPECIALLY as a beginner. If you’re coming from Python having good syntax might throw you off but once you adjust you will see why everyone hates writing in Python.
Thank you for your feedback
Sorry, there was an error
Sorry we couldn't load the review

Top reviews from the United States

Reviewed in the United States on July 12, 2009
In 1988, The C Programming Language, 2nd Edition (affectionately referred to as K&R2) was first printed. Despite the passing of so many years, C's syntax and semantics have remained fairly stable. It is then fitting that K&R2 remains the de facto manual and reference for helping programmers get acquainted with the C programming language. Dennis M. Ritchie, one of the co-authors, is the original designer of C and also helped design the Unix operating system in the '60s. Brian Kernighan also helped with the design of Unix, AWK, and is noted for creating other well-known Unix programs.

Not only are the authors well qualified, but they communicate very effectively in concise and clear language. The authors do not pander or condescend to readers. They make no claims to teach C in only one day; they actually expect readers to have a basic grasp on various programming concepts. The authors show an earnest desire to help programmers learn the language. The code examples provided are very helpful and exceptionally elegantly coded. As other reviewers have noted, they help instill good coding habits from the start.

K&R2 provides a helpful introduction to programmers, which gives an overview of what the C programming language is (and is not). The introduction explains C's typing system and basic features. The meat of the book is well organized into chapters that sequentially build upon previous chapters. Chapter 5, "Pointers and Arrays," for example, does a great job at elucidating a difficult computer science concept. A lot of people are well aware of nasty bugs deriving from using pointers and arrays, but the authors explain pointers and arrays in a very clear way, which draws the important distinctions between them.

After the main tutorial chapters, the appendix follows in an amazingly compact, yet thorough reference, which includes a C grammar, overview of the standard libraries, and more. Oftentimes, this reference is the most convenient and concise source for information (note that the C Standard is *the* authoritative source on the C specification). For example, the section covering the "*printf" and "*scanf" conversion specifiers is extremely helpful and much easier to digest than most man pages.

For such a relatively small text, it's amazing how thorough it is. Although it's no substitute for having a copy of the ISO C Standard at hand, it's still an indispensable reference to have. Also, since C99 has yet to be fully implemented on many common implementations, developers still look to the ANSI C standard for ensuring their code is as portable as possible.

I feel K&R2 is the best reference for learning C; it has been considered canon for all these years for a reason.
19 people found this helpful
Report
Reviewed in the United States on December 17, 2013
I'm not new to programming; in fact I've been doing it professionally for the past decade. Although I've played around in quite a few different languages, most of my work over the last 6 years has been in .NET (C# mainly). I have always had an interest in C because I love its simplicity. Also, it's a language which brings one closer to the machine, stripping away many of the abstractions that higher level languages provide. Higher level languages (such as Java, C#, Python, etc.) are massive and powerful with HUGE frameworks, but I'm attracted to simple things.

This book is a feisty little devil! I had heard of this book before diving in (it is a classic), but its size and table of contents lead me to believe I would breeze right through it. Wrong! Picking up the syntax wasn't too difficult and I have a fairly good handle on more advanced concepts like pointers already, but this book is absolutely packed with exercises and many of them are quite challenging!

Here's one:
"Write a program to check a C program for syntax errors like unbalanced parenthesis, brackets and braces. Don't forget about quotes, both single and double, escape sequences, and comments."

This is a chapter 1 exercise! Chapter 1 is just a tutorial introduction chapter and this is one 1 of 24 exercises in this chapter! No wonder it takes people years to work through this tiny book. I'm only about halfway through as I write this review.

This book is the perfect blend of reference material, practical knowledge and challenging exercises. There is absolutely no fluff and not a single word is wasted. I grow tired of pouring through 1,000+ page tomes. The appendices are also very well structured and extremely helpful.

Although I do virtually no C coding professionally, I can say for certain that this book has leveled up my skill-set. Working through these exercises has helped me with logical thinking and having a better understanding of coding closer to the machine has improved me as a developer overall. I'm one who believes that this book is great for all programmers, even if you never write a line of C after working through this book. I'm really loving the C language!

Whether you are a beginner or experienced it's worth having this book. Though this will be quite tough for total beginners, I say it's still work picking up and pairing it with a more beginner-friendly book. Unfortunately I cannot recommend such a book at this time because this is the only C book I've worked through.
154 people found this helpful
Report
Reviewed in the United States on September 25, 2024
Great book for me -- an adult reader with a technical background who is learning C. I'm already familiar with programming (do they call it "coding" nowadays?) and I've done a lot of work in Python. Given that, I found it easy to pick up C from the book.

You could read this as a beginner as well -- I might get it as a gift for a smart high-school kid. But it won't be easy.

The book is clearly written with good examples and exercises. Some of those exercises are pretty hard! I skipped most of them, because I have my own projects I want to do instead. But if you're learning C for the first time, I recommend them.

Top reviews from other countries

Translate all reviews to English
Lukas
5.0 out of 5 stars Awesome book
Reviewed in Canada on August 1, 2024
This is probably the best programming book that I have ever read. The book is concise, intuitive, and packed with information. I wish this would have been my first introduction to programming. Consider not getting the cheaply printed version, the print quality is sad.
Samuel Arenas
5.0 out of 5 stars A must read for all C programmers
Reviewed in Mexico on May 5, 2024
Complete book on the basic building blocks of C. Quite simple language but very very powerful.
Fernanda
5.0 out of 5 stars C
Reviewed in Brazil on June 24, 2023
Muito bom. Excelente e importante para quem gosta de programação.
Dmitry
5.0 out of 5 stars The programming language C
Reviewed in Italy on August 13, 2024
Ottimo!
Alexandra
5.0 out of 5 stars Rate
Reviewed in Germany on May 16, 2024
The book came in great conditions! Didn't take too long either. Thank you very much.
Customer image
Alexandra
5.0 out of 5 stars Rate
Reviewed in Germany on May 16, 2024
The book came in great conditions! Didn't take too long either. Thank you very much.
Images in this review
Customer image
Customer image