/KR2

My Solutions to The C Programming Language, by K&R

Primary LanguageC

The C Programming Language

Brian Kernighan & Dennis Ritchie

These are my solutions to the questions in The C Programming Language 2nd Edition. @Anvesh G. Jhuboo

All the answers are of my own work, but I did take inspiration from the brilliant work done by the guys at clc-wiki. Check them out, they have a lot of interesting variations!

C is a general-purpose programming language with features of econony of expression, modern flow control and data structures, and a rich set of operators. C is not a "very high level" language", nor a "big" one, and is not specialized to any particular area of application. But its absence of restrictions and its generality make it more convenient and effective for many tasks than supposedly more powerful languages.

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

Appendix

  • Appendix A - Reference Manual
  • Appendix B - Standard Library
  • Appendix C - Summary of Changes

Summer 2020 Anvesh G. Jhuboo