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.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your mobile phone number.

The C Answer Book: Solutions to the Exercises in 'The C Programming Language,' Second Edition 2nd Edition

4.2 out of 5 stars 25 customer reviews
ISBN-13: 007-6092030997
ISBN-10: 0131096532
Why is ISBN important?
ISBN
This bar-code number lets you verify that you're getting exactly the right version or edition of a book. The 13-digit and 10-digit formats both work.
Scan an ISBN with your phone
Use the Amazon App to scan ISBNs and compare prices.
Trade in your item
Get a $6.34
Gift Card.
Have one to sell? Sell on Amazon
Buy used On clicking this link, a new layer will be open
$18.35 On clicking this link, a new layer will be open
Buy new On clicking this link, a new layer will be open
$36.50 On clicking this link, a new layer will be open
More Buying Choices
20 New from $32.51 30 Used from $15.15
Free Two-Day Shipping for College Students with Prime Student Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student


Security
ITPro.TV Video Training
Take advantage of IT courses online anywhere, anytime with ITPro.TV. Learn more.
$36.50 FREE Shipping. In Stock. Ships from and sold by Amazon.com. Gift-wrap available.
click to open popover

Frequently Bought Together

  • The C Answer Book: Solutions to the Exercises in 'The C Programming Language,' Second Edition
  • +
  • The C Programming Language
  • +
  • The Standard C Library
Total price: $153.08
Buy the selected items together

Editorial Reviews

From the Publisher

Contains complete explanations of all exercises in Kernighan & Ritchie 2/E. Ideal for use with K&R in any course on C.

From the Back Cover

Provides solutions to all exercises in Kernighan & Ritchie's new ANSI C book. Ideal for use with K&R in any course on C. Careful study of this answer book will help understand ANSI C and enhance programming skills. Tondo & Gimpel describe each solution and completely format programs to show the logical flow.

NO_CONTENT_IN_FEATURE

New York Times best sellers
Browse the New York Times best sellers in popular categories like Fiction, Nonfiction, Picture Books and more. See more

Product Details

  • Paperback: 208 pages
  • Publisher: Prentice Hall; 2nd edition (November 11, 1988)
  • Language: English
  • ISBN-10: 0131096532
  • ISBN-13: 978-0131096530
  • Product Dimensions: 6.9 x 0.6 x 9 inches
  • Shipping Weight: 12 ounces (View shipping rates and policies)
  • Average Customer Review: 4.2 out of 5 stars  See all reviews (25 customer reviews)
  • Amazon Best Sellers Rank: #53,376 in Books (See Top 100 in Books)

Customer Reviews

Top Customer Reviews

By Christopher Wanko on May 20, 2001
Format: Paperback
The book it answers, "The C Programming Language", is one that every C programmer probably owns and with good reason. This answer guide is a necessary complement to those of us who are curious about the authors' solutions.
Maybe you need the extra explanations; I know I did at times, if only to clarify or validate my thought processes. If you have a professor using "The C Progamming Language" as the primary textbook, you won't need this book. However, if you're going it alone, it's a good complement to self-study because it will engage you in some rational dialogue about the solution methodology.
That's the final star; if the book discussed rationale a bit more, it would merit the fifth star.
Comment 40 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
Where was this book when I was struggling with the C language. In my opinion, this should not be a seperate book, but a part of the book, "The C Programming Language" by Kernighan and Ritchie.
At last students of C can work through the exercises in "The C Programming Language" and then turn to this book to make sure they are on the right track with the answers.
5 stars! Buy it today!
Comment 23 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback Verified Purchase
This book contains solutions to all the questions and exercises in the K&R C second edition. If you can figure everything out easily, then you don't need this book. If you want to cheat or need some help, get this book. I have it as a reference and to show my students.
Comment 26 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
Kernighan and Ritchie's book, The C Programming Language, otherwise known as the K&R, is the quintessential C language reference and tutorial guide. One of the keys to its effectiveness is its use of programming exercises which rigorously test the reader's comprehension of the language. However, because of the succinctness of the text, no space is given to the solution of these exercises. Consequently, the independent learner, without the guidance of a knowledgeable instructor, will oftentimes be lost.

Here enters The C Answer Book, by Tondo and Gimpel. This text is an essential companion to the K&R for most readers, but particularly those who are attempting to learn the C language outside of a formal educational environment. While some exercises in the K&R are easy, most are decidedly non-trivial, and some are downright intractable. Without some guidance on solutions, a reader could easily give up, defeating the whole purpose of the book.

For each exercise in the K&R the C Answer Book gives a listing of the required C language code, accompanied by clear, but succinct, explanations. Like the K&R itself, the C Answer Book is a short text, and its explanations are generally brief. This should be sufficient for most readers, but those who require more detailed explanations should probably seek assistance from an instructor, or maybe even abandon the K&R for a more accessible beginner's text.

As a companion to the K&R this book is exemplary, and I therefore give it my highest recommendation.
Comment 6 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback Verified Purchase
As a student learning C for the first time, this book and the accompanying book by Kernighan and Ritchie were decent books and I would recommend them.

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.

Head First C by David Griffiths is another recommendation which is beginner friendly. Plenty of visual representations with a sense of humor to keep you interested. Straight forward and easy to follow.
Comment One person found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
I did not know that this book existed. Now I do, and I heartily recommend it as a companion to the Kernigan and Ritchie "Bible" also known as "The C Programming Language."
Comment 9 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback Verified Purchase
Through Amazon, or affiliated vendors, I have bought the following: The C Programming Language, by K&R, The C Programming Language, 2nd edition, by K&R, The C Answer Book, by Tondo, and the Standard C Library by P.J. Plauger. I believe that I now have an excellent set of books to help me re-learn and perhaps finally master the C language. I should have done this 30 years ago. I consider the original book, The C Programming Language, to be a collector's item and am extremely happy with the service from Amazon and affiliates in helping me acquire my treasure. For novices, the C Programming Language was written by Brian W. Kernighan and Dennis M. Ritchie, both then at AT&T, Bell Labs, to be used to write the Unix operating system in the late 60s, early 70s. Both C and Unix (and Unix clones, AKA Linux) are widely used and worth knowing. Looking forward to some good reading!
Comment 3 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback Verified Purchase
This is a nice companion to the K&R book. Note that you can find online web sites that give solutions too, but sometimes they use libraries or concepts not yet covered by the K&R, whereas the answer book, for the most part stays at about the same gradient as the corresponding K&R page number. It also uses a fairly similar approach as the examples in K&R. Explanations are fairly short, but helpful. One thing it doesn't have (though the questions it answers don't really ask for it), is a working main function to test drive the solutions. In a way, this is a nice study to learn more about the topics but can be frustrating in the pointers section (see 'An aside' below).

I purchased this book used for around $7. I don't think I would purchase a new copy for a solutions book -- the condition was quite acceptable when it arrived even thought the seller described it as being in dismal condition. Got lucky I guess. That being said, if you're really serious about learning C, I would think this would be a worthwhile additional purchase to K&R. FWIW, C Programming All-in-one and C in a nutshell books have also been helpful to me.

An aside: As a newbie, I started using char *someParam = "a literal" and then I'd get an error when passing this as an arg to a (char *s) parameter if/when the function needed to 'manipulate' the string. I'm still not sure if I understand this correctly, but it seems that mutable strings need to be declared char [SOME_SIZE]someString = "a literal". Since arrays are pointers, this works as an arg to the (char *s) and the function will be able to manipulate the string. I mention this because the solutions would crash unless I did this!
2 Comments 6 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse

Most Recent Customer Reviews

Set up an Amazon Giveaway

The C Answer Book: Solutions to the Exercises in 'The C Programming Language,' Second Edition
Amazon Giveaway allows you to run promotional giveaways in order to create buzz, reward your audience, and attract new followers and customers. Learn more about Amazon Giveaway
This item: The C Answer Book: Solutions to the Exercises in 'The C Programming Language,' Second Edition