Programming Books C Java PHP Python Learn more Browse Programming Books

Sorry, this item is not available in
Image not available for
Image not available

To view this video download Flash Player


Sign in to turn on 1-Click ordering
Sell Us Your Item
For a $53.53 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

C Programming: A Modern Approach, 2nd Edition [Paperback]

K. N. King
4.7 out of 5 stars  See all reviews (43 customer reviews)

Buy New
$115.05 & FREE Shipping. Details
In Stock.
Ships from and sold by Gift-wrap available.
In Stock.
Rented by RentU and Fulfilled by Amazon.
Want it tomorrow, July 11? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student

Shop the New Digital Design Bookstore
Check out the Digital Design Bookstore, a new hub for photographers, art directors, illustrators, web developers, and other creative individuals to find highly rated and highly relevant career resources. Shop books on web development and graphic design, or check out blog posts by authors and thought-leaders in the design industry. Shop now

Book Description

April 19, 2008 0393979504 978-0393979503 2

The first edition of C Programming: A Modern Approach was popular with students and faculty alike because of its clarity and comprehensiveness as well as its trademark Q&A sections.

Professor King's spiral approach made it accessible to a broad range of readers, from beginners to more advanced students. With adoptions at over 225 colleges, the first edition was one of the leading C textbooks of the last ten years. The second edition maintains all the book's popular features and brings it up to date with coverage of the C99 standard. The new edition also adds a significant number of exercises and longer programming projects, and includes extensive revisions and updates.

Frequently Bought Together

C Programming: A Modern Approach, 2nd Edition + Computer Systems: A Programmer's Perspective (2nd Edition) + The C Programming Language, 2nd Edition
Price for all three: $284.53

Buy the selected items together

Editorial Reviews

About the Author

K. N. King (Ph.D., University of California, Berkeley) is Associate Professor of Computer Science at Georgia State University. He is the author of Modula-2: A Complete Guide and Java Programming: From the Beginning.

Product Details

  • Paperback: 832 pages
  • Publisher: W. W. Norton & Company; 2 edition (April 19, 2008)
  • Language: English
  • ISBN-10: 0393979504
  • ISBN-13: 978-0393979503
  • Product Dimensions: 9.2 x 7.4 x 1.2 inches
  • Shipping Weight: 2.5 pounds (View shipping rates and policies)
  • Average Customer Review: 4.7 out of 5 stars  See all reviews (43 customer reviews)
  • Amazon Best Sellers Rank: #89,873 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

Most Helpful Customer Reviews
46 of 49 people found the following review helpful
5.0 out of 5 stars Engaging, approachable and ACCURATE May 31, 2008
Format:Paperback|Verified Purchase
I ordered K.N. King's ``C Programming: A Modern Approach (Second Edition)'' from Amazon for my recent birthday. Having had more birthdays than I care to admit, this gift to myself is right up there with a Lionel train set I got for my eighth birthday (not from Amazon, of course -- it didn't exist that long ago but passengers trains sure did :)).

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 ›
Was this review helpful to you?
23 of 24 people found the following review helpful
5.0 out of 5 stars Probably the best (although I'm biased) November 9, 2009
Some years back, someone mentioned the first edition of this book on Usenet as a possible alternative to K&R for someone trying to learn C. I was surprised, but I got a copy of the book to find out... And he was right.

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.
Comment | 
Was this review helpful to you?
20 of 22 people found the following review helpful
5.0 out of 5 stars The Best "Language" Book I've Yet to Read. March 8, 2013
I've read a few "language agnostic" books and a few "language-specific" books over the past 2 years. There is generally a wide schism between these two types of books. Let me summarize them here:

Language Agnostic (examples: SICP, Introduction to Algorithms, Introduction to Computer Science):

These books focus on building programming fundamentals. Yes, SICP and Intro to CS use Scheme and Python respectively, but they focus on offering you the foundations to write useful and delightful programs. These aren't "cook books:" they teach you how to think through and understand problems and how to solve them with computers. Most notably, there tends to be many exercises at the end of the chapters that enhance your understanding of the material. These books tend to be long and dense, but well worth the effort.

Language-Specific Books (examples: Clojure Programming, Definitive Guide to Drupal):

I've learned to loathe these kinds of books. While they give you an overview of the features, they really never go through how to combine and mix the parts to make you more comfortable with the language or framework. The thing I hate the most is the incessant language-bashing and chatting up how incredible the languages are. I'm not saying they aren't worth the money, as they usually are, but they tend to only be a starting point, leaving many questions unanswered, and all the talk about "Doing it the hard way or the Drupal Way" and "Clojure raising your game.. and oh yeah, Python, Ruby, and Java sucks" takes away valuable real-estate to get you on your way to confidently use the language when you are done reading it and ultimately distracts me from the learning material. If I wanted to be indoctrinated, I wouldn't spend $30 for a book; I'd read a blog for free.
Read more ›
Comment | 
Was this review helpful to you?
13 of 14 people found the following review helpful
5.0 out of 5 stars The Best C Programming Book! May 29, 2012
By Skyward
There is no other way to put it. If you want to learn C programming, this is the only book you need. Don't bother mixing bits from different books or sources. Just get a copy of the 2nd edition and read it in the presented order, from chapter 1 and move on progressively. The explanation is very clear and the questions actually encourage you to find the right reasoning and develop your thinking skills, so you "think" like a programmer. I didn't know anything about programming and this book marks a landmark in my life, as it allowed me to truly appreciate programming and the power of code by being a developer.

I would have expected a 3rd edition by now, containing the minor fixed errata with more questions and examples (it's been 4 years since the 2nd edition was released), but the 2nd edition is very well presented and until the 3rd edition comes out (probably 2013 or later), this book is the best in its class. Buy it and you'll never regret it.
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
1.0 out of 5 stars This is NOT a replacement for K&R
K&R (The C Programming Language) offers a deep learning experience with a terse writing style.
KNK, on the other hand, is an introductory text to programming that takes a... Read more
Published 2 months ago by DreamingInCode
5.0 out of 5 stars Required text for CS111 - paperback
Using this for the CS111 course at Shippensburg University. Required text. Does its job. Paperback. Renting it for now, I'll try to remember to update at the end of the semester... Read more
Published 4 months ago by Darin
5.0 out of 5 stars Exact same book at the college book store at half the cost!
The book arrived in three days and was new in box. I compared it to the one at the college book store and they were identical. Read more
Published 4 months ago by Scott lordson
5.0 out of 5 stars Good book for just C
Mind you not a great book for beginners but a good go to book for those who already have knowledge in programming and some basic idea of the C language. Read more
Published 5 months ago by Eric Daza
5.0 out of 5 stars A great book for learning C
I have programming background using scripting languages and I decided to learn C too. Among the various books that I looked at, this was the best. Enough detail and good problems. Read more
Published 6 months ago by Zaal
5.0 out of 5 stars If only all textbooks were this clear and easy to understand
I bought this book because it was the required text for my c programming class. I usually buy my textbooks and then sell them back because it's cheaper in the long run than... Read more
Published 6 months ago by Mitch
5.0 out of 5 stars C, the red pill of the programming
This book is the only one which truly excels K&R. C has a very simple set of rules, and if you only look up the syntax, you could learn it in few days or even in hours. Read more
Published 8 months ago by Miax
4.0 out of 5 stars nice book, nice starting in the c programming
nice book, nice starting in the c programming, comprehensive, very user friendly and easy manageable. Useful to whom would like to start programming
Published 9 months ago by Luca Marini
5.0 out of 5 stars easy to use
my son needed for a class. he finds it easy to navigate and it is his first class at college level
Published 11 months ago by K. Al-Rashidi
5.0 out of 5 stars Excellent Textbook!
Easily the best programming textbook I have ever purchased. It is interesting to read, and there are lots of examples and example problems to work through. Read more
Published 12 months ago by pianodude1193
Search Customer Reviews
Search these reviews only

What Other Items Do Customers Buy After Viewing This Item?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more


There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
First post:
Prompts for sign-in

Look for Similar Items by Category