Answers to Programming in C (Fourth Edition) by Stephan G. Kochan.
This is the complete set of answers to the exercises in the book.
If you found a mistake or a bug, please let me know.
Cheers!
- Chapter 1. Some Fundamentals - no exercises
- Chapter 2. Compiling and Running Your First Program
- Chapter 3. Variables, Data Types, and Arithmetic Expressions
- Chapter 4. Program looping
- Chapter 5. Making Decisions
- Chapter 6. Working with Arrays
- Chapter 7. Working with Functions
- Chapter 8. Working with Structures
- Chapter 9. Character Strings
- Chapter 10. Pointers
- Chapter 11. Operations on Bits
- Chapter 12. The Preprocessor
- Chapter 13. Extending Data Types with Enumerated Data Type, Type Definitions, and Type conversions
- Chapter 14. Working with larger Programs - no exercise
- Chapter 15. Input and Output Operations in C
- Chapter 16. Miscellaneous and Advanced Features
- Chapter 17. Debugging Programs
- Chapter 18. Object-Oriented Programming (no exercises)