C in a Nutshell
Publisher: O'Reilly Media
Final Release Date: December 2005
Pages: 622

Learning a language--any language--involves a process wherein you learn to rely less and less on instruction and more increasingly on the aspects of the language you've mastered. Whether you're learning French, Java, or C, at some point you'll set aside the tutorial and attempt to converse on your own. It's not necessary to know every subtle facet of French in order to speak it well, especially if there's a good dictionary available. Likewise, C programmers don't need to memorize every detail of C in order to write good programs. What they need instead is a reliable, comprehensive reference that they can keep nearby. C in a Nutshell is that reference.

This long-awaited book is a complete reference to the C programming language and C runtime library. Its purpose is to serve as a convenient, reliable companion in your day-to-day work as a C programmer. C in a Nutshell covers virtually everything you need to program in C, describing all the elements of the language and illustrating their use with numerous examples.

The book is divided into three distinct parts. The first part is a fast-paced description, reminiscent of the classic Kernighan & Ritchie text on which many C programmers cut their teeth. It focuses specifically on the C language and preprocessor directives, including extensions introduced to the ANSI standard in 1999. These topics and others are covered:

  • Numeric constants
  • Implicit and explicit type conversions
  • Expressions and operators
  • Functions
  • Fixed-length and variable-length arrays
  • Pointers
  • Dynamic memory management
  • Input and output

The second part of the book is a comprehensive reference to the C runtime library; it includes an overview of the contents of the standard headers and a description of each standard library function. Part III provides the necessary knowledge of the C programmer's basic tools: the compiler, the make utility, and the debugger. The tools described here are those in the GNU software collection.

C in a Nutshell is the perfect companion to K&R, and destined to be the most reached-for reference on your desk.

Table of Contents
Product Details
About the Author
Recommended for You
Customer Reviews


by PowerReviews
oreillyC in a Nutshell

(based on 4 reviews)

Ratings Distribution

  • 5 Stars



  • 4 Stars



  • 3 Stars



  • 2 Stars



  • 1 Stars



Reviewed by 4 customers

Displaying reviews 1-4

Back to top

(0 of 1 customers found this review helpful)


There's better

By thomps5

from Windsor, On Canada

Verified Buyer

Comments about oreilly C in a Nutshell:

Only covers basic issues that can be found through the web for free


Excelent C reference

By Pavel

from Malaysia

About Me Developer


  • Accurate
  • Concise
  • Easy to understand
  • Well-written


    Best Uses

    • Expert
    • Intermediate
    • Student

    Comments about oreilly C in a Nutshell:

    Description says: "C in a Nutshell is the perfect companion to K&R, and destined to be the most reached-for reference on your desk." and that is true. I think this book is useful as for mature developers, as for beginners, though it is not a tutorial.

    (7 of 7 customers found this review helpful)


    Great Reference Book

    By Andre Wiggins

    from Undisclosed

    Comments about oreilly C in a Nutshell:

    This book is exactly what it says it is: A Desktop Quick Reference. It covers almost all parts of the C language including extensive documentation of the Standard Library. Great book for advanced C users who haven't memorized every single function or do not know every intricacy of pointers and arrays.

    NOTE: As stated above this is mainly a book for advanced users. This is not a tutorial although may be useful for a beginner to C to use along side a tutorial if you have programmed before.

    (7 of 7 customers found this review helpful)


    Excellent Reference book

    By Ravi

    from Undisclosed

    Comments about oreilly C in a Nutshell:

    Many c books in market particularly deal with the language itself, and ignores the library functions which is very important to become a proficient programmer. But this one is not like those. This contains useful information about the language and the library. Even experienced c programmers can use as a reference. I appreciate the authors treatment of language and library functions.

    Displaying reviews 1-4

    Back to top

    Buy 2 Get 1 Free Free Shipping Guarantee
    Buying Options
    Immediate Access - Go Digital what's this?