home

=Answers to The C Programming Language by Kernighan and Ritchie=

Welcome to the C Answers Site. I created this as a tool to use while reading (and re-reading) the classic C programming language text, [|The C Programming Language] by Kernighan and Ritchie. I found Richard Heathfield's site and thought it best served by a wiki. I couldn't get in touch with him and am in a sense violating his copyright. I've made effort to reproduce his work, and the work of the original contributors, unaltered. Any additional contributions or edits will be referenced by the wiki's edit changelog.

Enjoy! Yong Joseph Bakos

Credits

 * Originally created from [|solutions provided here by RIchard Heathfield].
 * Now maintained and funded by [|Yong Joseph Bakos] of [|Human-Oriented Systems]
 * [|The C Programming Language], 2nd Edition

Purpose

 * To maintain the [|old archive once maintained by Richard Heathfield].
 * To extend the original archive by adding a collaborative wiki featureset.
 * To serve as an academic reference for the C examples and problems in the book.

From the Original C Answers Site (old)
This site was inaugurated on 1 January 2000 as a repository for definitive answers to the exercises in "The C Programming Language" by Kernighan and Ritchie (2nd edition) - ISBN 0-13-110362-8. Since it's a relatively new site, not all of the exercises have been done. That will change over time, of course.

Naturally, it's not impossible that you might notice a mistake, or be able to think of a better solution than the one presented on this site. If so, please let me know, and I'll consider your amendment for inclusion. I will try my best to ensure that full credit is given to all contributors to this site. Any uncredited listings (modulo errors of omission) are supplied by me personally, so beware! Complaints to email, please...

//The original C Answers Site was last updated 12 March 2002.//

Meta
[|Errata for the 2nd Edition of K & R] Maintenance History (old) Contributors (old) Bugs and Fixes (old) Copyright Issues (old) Naming Conventions (old) All Existing Non-essay Solutions (C files, zipped, 116k). Unsolved exercises (old)