The-C-Programming-Language icon indicating copy to clipboard operation
The-C-Programming-Language copied to clipboard

Answers to exercises in K&R's The C Programming Language (second Edition).

Answers to The C Programming Language (Second Edition) by Brian W. Kernighan & Dennis M. Ritchie.

These are the answers to the exercises in K&R's The C Programming Language (second Edition).

Please let me know if you found a mistake or a bug.

Cheers!

Contents

  • 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