Skip to content

TerryZhao1991/K-and-R-exercises-and-examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%