• Stars
    star
    168
  • Rank 224,628 (Top 5 %)
  • Language
    C
  • Created about 11 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

All Examples and Exercises from K&R The C Programming Language 2nd edition book

K & R Exercises and Examples

My takes of K&R The C Programming Language 2nd edition book. It includes both the code examples and the answers for all the exercises.

###Organization

Each dir contains only the code from the specific chapter.

Each example is prefixed with ex.

Each exercise is prefixed with the exercise number and e.

Some of the answers are inspiered or copied from clc-wiki.

My code is indented GNU style while the foreign code is indented K&R style.

###Compiling

I suggest using the c99 standard when compiling: -std=c99 for all the files.