C Programming
Learn C89 and C99 the right way, from fundamentals to the standard library
Master C89 and C99 with K. N. King's C Programming: A Modern Approach, 2nd Edition — clear explanations, full programs, and the standard library in depth.
- 830pages
- 25chapters
- 2c standards covered (c89 and c99)
- Secondedition
This book is for you if you are
- This book is for you if you are a student taking your first C or systems programming course.
- This book is for you if you are a self-taught developer filling gaps left by Python, JavaScript, or Java.
- This book is for you if you are a working programmer who needs C for embedded, systems, or performance-critical work.
Why this book
C Programming: A Modern Approach by K. N. King is a complete, classroom-tested course in the C language, written for people who want to write correct code rather than guess at syntax. King teaches C89 alongside C99, so you learn the language as it is actually compiled today, not as it was described decades ago.
Most C material online is either a forum thread or a tutorial that stops at loops. This edition works in the other direction: declarators, pointer arithmetic, and the preprocessor are explained in full, then applied in complete programs you can compile and modify. The book moves through statements, basic types, arrays, functions, and program organization before it ever asks you to reason about memory addresses, which is why pointers finally make sense here instead of feeling like a trick.
- Coverage of both C89 and C99, including declarations, Boolean types, and library additions
- 25 chapters that build from formatted input and output to low-level programming and error handling
- Dedicated chapters on writing large programs, program design, and organizing multi-file projects
- Full treatment of structures, unions, enumerations, and advanced pointer use
- Reference-style chapters on the standard library, input/output, and numeric and character support
Readers who get the most from it are students taking a first systems or programming course, self-taught developers filling in gaps left by higher-level languages, and working programmers who need C for embedded or performance-critical code. Get your copy today.
What you'll learn
- Write and compile correct C programs using both C89 and C99 features.
- Explain declarations, scope, and type rules that trip up beginners.
- Use pointers and arrays confidently, including pointer arithmetic and dynamic storage.
- Structure multi-file programs with headers, separate compilation, and the preprocessor.
- Model data with structures, unions, and enumerations.
- Apply the standard library for input/output, strings, numbers, and character handling.
- Handle errors and use low-level techniques such as bit manipulation.
Not the right book for: readers who want a quick syntax cheat sheet rather than a full course
Questions about this book
Does this book cover both C89 and C99?
Yes. King teaches the language across both standards and marks the C99-specific features as they appear, including declarations, Boolean support, and library additions.
Is C Programming: A Modern Approach good for beginners with no prior experience?
It assumes no prior C knowledge and builds from formatted input and output through expressions and loops before reaching pointers, so a motivated beginner can follow it without a second reference.
How does the book teach pointers and arrays?
Pointers get three dedicated passes: the fundamentals, the relationship between pointers and arrays, and advanced uses such as function pointers and dynamic data structures.
Can I use it to learn how to organize a large C program?
Yes. Separate chapters cover program organization, writing large programs, and program design, so you move from single files to multi-file projects.
Is the standard library covered in detail?
Several chapters function as a working reference to the standard library, including input/output, numeric and character data support, error handling, and international features.
Can I get it in another format?
Yes. You get the PDF right away. Need EPUB, Kindle, Word or any other format? Email support@ebooksonline.si with your order number and we send it.
Does it work on Kindle?
Yes. Email support@ebooksonline.si with your order number and we send you a Kindle-ready file.
How many times can I download it?
As many times as you like. Sign in to your account and download it again at any time.
What if the file does not work?
Contact us with your order number and we will fix it or refund you.
Contents
- 1Introducing Cp. 1
- 2Formatted Input/Outputp. 37
- 3Expressionsp. 53
- 4Selection Statementsp. 73
- 5Loopsp. 99
- 6Basic Typesp. 125
- 7Arraysp. 161
- 8Functionsp. 183
- 9Program Organizationp. 219
- 10Pointersp. 241
- 11Pointers and Arraysp. 257
- 12Stringsp. 277
- 13The Preprocessorp. 315
- 14Writing Large Programsp. 349
- 15Structures, Unions, and Enumerationsp. 377
- 16Advanced Uses of Pointersp. 413
- 17Declarationsp. 457
- 18Program Designp. 483
- 19Low-Level Programmingp. 509
- 20The Standard Libraryp. 529
- 21Input/Outputp. 539
- 22Library Support for Numbers and Character Datap. 589
- 23Error Handlingp. 627
- 24International Featuresp. 641
- 25Miscellaneous Library Functionsp. 677
- 26Additional C99 Support for Mathematicsp. 705
Details
- Author
- K. N. King
- Publisher
- Notton
- Edition
- Second edition
- Pages
- 830
- Language
- English
- Formats
- PDF (EPUB, Kindle or any other format on request)
- File size
- 139 MB
- Licence
- Personal use, keep forever
Buy with confidence
If your file does not open or download, we fix it or refund you. Read the refund policy.
More in Computer Science & Technology
See allGetting to Know ArcGIS
PDF · 824 pages
You save $100.00
Add to cartAdobe Photoshop Classroom in a Book (2022 release)
PDF · 624 pages
You save $45.00
Add to cartBuilding Machine Learning Powered Applications
PDF · 260 pages
You save $260.01
Add to cartIntroduction to Algorithms
PDF · 1313 pages
You save $74.77
Add to cartDeep Learning for Coders with fastai and PyTorch
PDF · 1028 pages
You save $41.05
Add to cartThe Definitive Guide to CentOS
PDF · 353 pages
You save $40.00
Add to cart