The C Answer Book

Clovis L. Tondo, Scott E. Gimpel

Publisher: Prentice Hall, 1985, 209 pages

ISBN: 0-13-109877-2

Keywords: Programming

Last modified: June 6, 2021, noon

In their Preface, the authors write, "This is an ANSWER BOOK. It provides solutions to all the exercises in The C Programming Language by Brian W. Kernighan and Dennis M. Ritchie (Prentice-Hall, 1978). Careful study of The C Answer Book used in conjunction with K&R, will help you understand C and teach you good C programming skills.

"Use K&R to learn C, work the exercises, then study the solutions presented here. We built our solutions using the language constructs known at the time the exercise appear in K&R. The intent is to follow the pace of K&R. Later, when you learn more language constructs, you will be able to provide possible better solutions.

"We explain the solutions. We presume you have read the material in K&R up to the exercise. We try not to repeat K&R, but describe the highlights of each solution.

"You cannot learn a programming language by only reading the language constructs. It also requires programming — writing your own code and studying those of others. We use good features of the language, modularize our code, make extensive use of library library routines, and format our programs to help the reader see the logical flow."

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

Reviews

The C Answer Book

Reviewed by Roland Buresund

Outstanding ********* (9 out of 10)

Last modified: May 21, 2007, 3:25 a.m.

I bet most people didn't really know that this book existed. All answers to the exercises in the K&R. Brilliant.

Comments

There are currently no comments

New Comment

required

required (not published)

optional

required

captcha

required