C Programming Language (2nd Edition) and over one million other books are available for Amazon Kindle. Learn more

Vous voulez voir cette page en français ? Cliquez ici.

Sign in to turn on 1-Click ordering.
Amazon Prime Free Trial required. Sign up when you check out. Learn More
More Buying Choices
Have one to sell? Sell yours here
Start reading C Programming Language (2nd Edition) on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

C Programming Language (2nd Edition) [Paperback]

Brian W. Kernighan , Dennis Ritchie
4.8 out of 5 stars  See all reviews (195 customer reviews)
List Price: CDN$ 70.00
Price: CDN$ 57.13 & FREE Shipping. Details
You Save: CDN$ 12.87 (18%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.ca. Gift-wrap available.
Want it delivered Monday, July 28? Choose One-Day Shipping at checkout.


Amazon Price New from Used from
Kindle Edition CDN $33.86  
Hardcover --  
Paperback CDN $57.13  
Join Amazon Student in Canada

Book Description

March 22 1988 0131103628 978-0131103627 2

The authors present the complete guide to ANSI standard C language programming. Written by the developers of C, this new version helps readers keep up with the finalized ANSI standard for C while showing how to take advantage of C's rich set of operators, economy of expression, improved control flow, and data structures. The 2/E has been completely rewritten with additional examples and problem sets to clarify the implementation of difficult language constructs. For years, C programmers have let K&R guide them to building well-structured and efficient programs. Now this same help is available to those working with ANSI compilers. Includes detailed coverage of the C language plus the official C language reference manual for at-a-glance help with syntax notation, declarations, ANSI changes, scope rules, and the list goes on and on.

Frequently Bought Together

Customers buy this book with The C Answer Book CDN$ 52.74

C Programming Language (2nd Edition) + The C Answer Book
Price For Both: CDN$ 109.87

One of these items ships sooner than the other. Show details

  • This item: C Programming Language (2nd Edition)

    In Stock.
    Ships from and sold by Amazon.ca.
    FREE Shipping. Details

  • The C Answer Book

    Usually ships within 2 to 3 weeks.
    Ships from and sold by Amazon.ca.
    FREE Shipping. Details

Customers Who Bought This Item Also Bought

Product Details

Product Description

From Amazon

An indisputably classic computing text, Kernighan and Ritchie's The C Programming Language, 2nd Edition, is the standard reference for learning and using ANSI C. Written by the co-inventors of C, this concise tutorial has a well-deserved reputation for clarity and precision as it defines one of the most successful programming languages of all time. It's an essential reference, which will be useful for beginners and experienced programmers alike.

This masterful tour of C features concentrates on essential programming constructs, from the basics--such as data types, variables, operators and flow control--to more advanced topics. Short, effective programming samples are the rule here. (Many samples work with strings and text files). Along the way, the authors don't shy away from the thornier C topics. For example, when discussing pointers, they look at pointers to pointers and even pointers to functions. Later in the book, they offer useful code for a flexible memory allocation scheme and a binary tree. The text concludes with the formal specification for C and a compact listing of the functions in the C standard header files.

C is still a great first programming language, and its influence is felt in Java and C++, both of which support many programming constructs based on C, while adding support for objects. The C Programming Language is still an excellent reference to one of our most successful and efficient programming languages. It's a book that deserves a place on the bookshelf of any C/C++ developer, regardless of your experience with the language. --Richard Dragan, Amazon.com

Topics covered:

  • overview of ANSI C
  • introductory language tutorial
  • data types
  • variables
  • arrays
  • operators and operator precedence
  • flow control
  • functions
  • header files
  • recursion
  • macros and the C pre-processor
  • pointers and arrays
  • advanced pointer types (pointers to pointers, pointers to functions)
  • multidimensional arrays
  • structures and unions
  • dynamic memory allocation
  • console and file I/O
  • UNIX file functions
  • Formal description of the standard C language
  • Reference to C standard library header files and functions

From the Publisher

This second editon describes C as defined by the ANSI standard. This book is meant to help the reader learn how to program in C. The book assumes some familiarity with basic programming concepts like variables, assignment statements, loops, and functions. A novice programmer should be able to read along and pick up the language.

Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index
Search inside this book:

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

Most helpful customer reviews
4 of 4 people found the following review helpful
4.0 out of 5 stars K&R all the way! June 5 2004
This is the book. Period. If you don't own this, change professions.
Was this review helpful to you?
2 of 2 people found the following review helpful
5.0 out of 5 stars The only C refrence you need June 22 2004
By A Customer
This book is short and sweet. It gets straight to the point by keeping it simple(unlike many programming books that just wander off into the back woods talking about some complex programs when its trying to explain a simple syntac). I recommend this book along with C Primer Plus, then C unleashed if you wish to contiune that far down the beaten path.
Was this review helpful to you?
5.0 out of 5 stars Fantastic C programming book Dec 9 2013
Format:Paperback|Verified Purchase
This book is well written and easy to follow with examples.
If you want to know if you can do something in C, it's a quick look.
This little tool is not a monstrosity of a book, but filled with more than enough information.

I feel this is one of the few programming books worth having in my library.
Was this review helpful to you?
5.0 out of 5 stars A classic, but not useful for the beginner Oct. 26 2013
Format:Paperback|Verified Purchase
This book is a classic explanation of the C language from the top brass themselves. This book was bought as a decorative piece and these days is good for that purpose only. This book is certainly not for anyone learning the language. There are far better instructive books out there for a better price. No C reference collection is complete without this decorative piece.
Was this review helpful to you?
3.0 out of 5 stars classic but dated June 27 2013
Format:Paperback|Verified Purchase
It's the bible for sure, but not good for learning. Have a copy for your second C book if you want to get serious down the road.
Was this review helpful to you?
5.0 out of 5 stars Simply indispensable Sept. 29 2012
By Erik
Format:Paperback|Verified Purchase
If you are in any introductory Computer Science course, you are going to want a copy of this book. It's a quick and concise go-to manual that tells you exactly what you want to know without any fluff. Probably not a "lecture replacement" though, since again, it skips over theory and gets right to implementation, and "theory" is probably what you'll be tested on.
Was this review helpful to you?
2 of 2 people found the following review helpful
4.0 out of 5 stars Very strange but enjoyable Feb. 27 2004
This is one of those books that is put aside on the shelf once you just start reading. One year later, you come back and have a go at it once more. Only this time you pause and think what a great book this has always been and you'd wish you had read it earlier.
Secondly alot of people here say this is *the* book for beginners. In my honest opinion, this is not so. It's way too technical for beginners to programming. My suggestion is that if you have any academic or professional background with C or any other language, then this book will serve you well. Otherwise don't buy this book, you will simply get lost. Read some good intro books on C which don't go into details. Once you get your feet wet, go ahead and buy this book. You will enjoy it.
There is a mis-paragraphing in the sections in chapter 5 where they are discussing the method alloc(). The value returned in the method code and the discussion of what the method returns is inconsistent. The discussion could have been put in better words.
Overall this is a very good book. A must have for serious C programmers. I would advise you to read the code *before* you read the discussion, it will help you undertsand better, especially if you like learning by example, otherwise, do as you please.
I am not a fan of huge 500-1000 page books on Computers. This book beats them all, well done K&R. Enjoy your read on this one when you buy it.
Was this review helpful to you?
1 of 2 people found the following review helpful
4.0 out of 5 stars The classic text, but there are better books. Aug. 28 2003
Yes, this is the classic text on C, but in 2003, there are better books.
If you want to know what went on in the designers mind in the creation of C, get this book.
If you need a tutorial about C, there are better choices.
Was this review helpful to you?
Want to see more reviews on this item?
Most recent customer reviews
4.0 out of 5 stars The perfect book to master C
This book provides great resources to learn C. Indeed, some basic knowledge in programming and mathematics is needed. Read more
Published on Aug. 23 2011 by Samuel Lavallée-Daunais
5.0 out of 5 stars This is the C book for UNIX users.
While maybe not showing extensions of various UNIX flavors it also does not clutter with .net and other temporally contrived notions that inhibit portability. Read more
Published on Sept. 24 2010 by bernie
2.0 out of 5 stars Don't use ANSI C, if your just learning.
In practical terms, ANSI C functions are buffered, meaning they consume more memory then they should compared to other third party languages like Borland Turbo C++ that have non... Read more
Published on May 10 2005 by Neil W. Fisk
5.0 out of 5 stars Great, not for new comers though
Great book, not for people who nothing about programming. If you "look inside this book" (or find this book at a local bookstore) and can read the intro pages, you could... Read more
Published on July 13 2004
5.0 out of 5 stars The definitive C programmers book
Often refered to simply as K&R, this book is the standard by which other technical books are judged. Read more
Published on July 6 2004 by Mike
5.0 out of 5 stars stupid newbs...
hey u! yes u! im talking to u, the newb that tries to learn the deep language of c. Do not get this book unless you have some programming experience. Read more
Published on April 17 2004
5.0 out of 5 stars Great book, worth to spend money on
I love this book. It's my main source for C language solution, and it's great to use as reference. Very straight forward and easy to use. Read more
Published on April 6 2004
Search Customer Reviews
Only search this product's reviews

Look for similar items by category