Enter your mobile number below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
Getting the download link through email is temporarily not available. Please check back later.
To get the free app, enter your mobile phone number.
C Programming: A Modern Approach, 2nd Edition 2nd Edition
Use the Amazon App to scan ISBNs and compare prices.
ITPro.TV Video Training
Take advantage of IT courses online anywhere, anytime with ITPro.TV. Learn more.
Frequently Bought Together
Customers Who Bought This Item Also Bought
Top Customer Reviews
At first I thought King's book was hard because of a certain depth of penetration into elements of good programming practices with examples one after another. As I became serious and started to reading intently, I found out how effective King was in paving the way toward a comprehensive understanding of C programming through worked out code and annotations. King is very skilled in breaking down and building up C code, unlike certain celebrated C programming language experts who apparently do not care to be clear or are simply ineffective. So my conclusion is: Read this each chapter of this book very closely, carefully and seriously, and try to understand every last point King is raising. Also, do not neglect working out some of his exercises at the end of each chapter for the benefit of practice as well as learning C. In almost every chapter of the book, he gives very good, organized and annotated but not tedious and complex examples. The problems are generally reasonable and hardly ever too complicated because I never found them overwhelming, either from a coding perspective or mathematically. Perhaps it is because King comes across as someone who emphasizes organization, detail, clarity and explanation in his style of presentation. There are no problems dealing with heavy scientific or engineering applications for those who dread them.
Great points: (1) Fundamentals - beginning chapters goes into detail for a solid grounding of C language basics (syntax, etc.Read more ›
In this second edition, I think that KNK is now the logical heir to K&R. That's not meant as blasphemy -- Kernighan and Ritchie's still great volume is around 20 years of age and it's unlikely they'll be getting together for K&R3. The C language has undergone enough changes (with the amendment of 1994) and C99, that a ``Modern Approach'' really is needed.
There's another author familiar to readers of the comp.lang.c newsgroup for his approachable, engaging writing style. That author is a wonderful writer but doesn't let the truth get in the way of good narrative. King, though, is an equally engaging writer but is obviously passionate about correctness and adhering to the C standard. He's also meticulous about portability so that the examples are written in pure C and not some platform-specific variant.
I've the entire book and can find hardly anything even nitpick. Aside from a minor style difference about using parentheses with the ``sizeof'' operator, which King explains his rationale for doing so, that's about it.
His explanation of C99 (and the differences from C90 are clearly indicated) made me aware of some really nice features of the current standard for the language (and makes me wonder why one very notable compiler implementer hasn't yet supported C99).
In short, get this book. The Q&A sections at the end of each chapter are very well done.Read more ›
Let me get the biases out on the table first: I did technical review of this book for the 2nd edition. But... While that leaves me in a great place to be biased about it, it also means that I'm aware of just how few typos or bugs were there even in the draft versions.
This book is an excellent teaching resource; it covers the language carefully, completely, and well. However, mere clarity of communication isn't enough to make a good programming reference; you also need to have confidence that the example code works as described, that the explanations given are correct, and so on. This is one of the only books out there I feel comfortable recommending to people, without worrying that I'll end up having to correct dozens of misconceptions later.
Quite simply, this is the C book I recommend to people who want to learn C, or polish up their C. In a market full of "approachable" books which are full of errors, this book offers a combination of clarity and accuracy which is unmatched.
This book presents a quick systematic clear way of learning to program in C period. This has to be the easiest programming book I have ever read that goes beyond absolute basics.
Frankly I don't understand the few negative reviews others have given the book. Yes it would have been nice to have answers to the exercises. However this is a programming book, you get the answers yourself by doing the work. Mistakes are readily apparent, simply because it won't work!
In terms of difficulty, the exercises are doable. There have been a few that did stump me.....for a little while. With a bit of rereading and some experimenting, I have managed to answer all that I have attempted.
Do yourself a favor if you are learning C and buy the book either as a stand alone or as a supplement to another book.
Most Recent Customer Reviews
Moderate wear and tear on the book. Good guide to programming.Published 8 days ago by Amazon Customer
Great book! I loved it!
With that book I learned the C language in a step-step notation as it is written to make the user follow it that why... Read more
A great book. Well written and informative. It is excellent for closing the gaps that the K&R book leaves open. Read morePublished 3 months ago by Old Sub Sailor
Just finished chapter 22 and I have to say this book is amazing. I probably won't finish the rest of the book but will keep it close as a reference. Read morePublished 5 months ago by Johnathan Petricini
This book has been a lifesaver for me in my class. It breaks things down to a molecular level and provides little, easy to digest examples. Read morePublished 8 months ago by Lena