Jump to: navigation, search

The C Programming Language, 2nd Edition, by Kernighan and Ritchie

The content of this part of the wiki was seeded from Richard Heathfield's solutions site. That 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. That site is no longer maintained. It is intended that this part of the wiki inherit from that site the role of providing high quality solutions to K&R's exercises.

Chapter Index For Exercise Solutions

Chapter 1 - A Tutorial Introduction
Chapter 2 - Types, Operators and Expressions
Chapter 3 - Control Flow
Chapter 4 - Functions and Program Structure
Chapter 5 - Pointers and Arrays
Chapter 6 - Structures
Chapter 7 - Input and Output
Chapter 8 - The UNIX System Interface

Solution Category Types (Category 0, 1, 2 and 3)

Personal tools