C Programming Language (2nd Edition) and over one million other books are available for Amazon Kindle. Learn more
CDN$ 57.13
  • List Price: CDN$ 70.00
  • You Save: CDN$ 12.87 (18%)
Only 8 left in stock (more on the way).
Ships from and sold by Amazon.ca.
Gift-wrap available.
Quantity:1
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 2 images

C Programming Language (2nd Edition) Paperback – Mar 22 1988


See all 5 formats and editions Hide other formats and editions
Amazon Price New from Used from
Kindle Edition
"Please retry"
Paperback
"Please retry"
CDN$ 57.13
CDN$ 53.68 CDN$ 46.14

Best Canadian Books of 2014
Margaret Atwood's stunning new collection of stories, Stone Mattress, is our #1 Canadian pick for 2014. See all

Frequently Bought Together

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


Customers Who Bought This Item Also Bought



Product Details

  • Paperback: 274 pages
  • Publisher: Prentice Hall; 2 edition (March 22 1988)
  • Language: English
  • ISBN-10: 0131103628
  • ISBN-13: 978-0131103627
  • Product Dimensions: 17.5 x 1.8 x 23.1 cm
  • Shipping Weight: 440 g
  • Average Customer Review: 4.8 out of 5 stars  See all reviews (198 customer reviews)
  • Amazon Bestsellers Rank: #27,323 in Books (See Top 100 in Books)
  • See Complete Table of Contents

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

4.8 out of 5 stars

Most helpful customer reviews

2 of 2 people found the following review helpful By Faizan Ali on Feb. 27 2004
Format: Paperback
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.
Cheers
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
4 of 4 people found the following review helpful By Taddese Zicke on June 5 2004
Format: Paperback
This is the book. Period. If you don't own this, change professions.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
2 of 2 people found the following review helpful By A Customer on June 22 2004
Format: Paperback
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? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
1 of 1 people found the following review helpful By Maggie N. on April 3 2003
Format: Paperback
For some reason, this book was assigned to one of my intro to comp-sci classes. It definitely does not fit such profile as it provides a great overview of the language, how it's built, how it works, and its applications, however, it does not teach to program. If you already know the basics of programming and are proficient in a similar language (e.g. Java), this may be an interesting read to understand the workings of the C language, but by no means expect it to provide little "classes" to teach you to be a C programmer.

Good overview of the language, targetted at more advanced programmers.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
1 of 1 people found the following review helpful By Sickness23 on June 28 2003
Format: Paperback
I got this book and tried to use it to learn C. I got very frustrated and eventually went out and bought "C by Example" which is more of a beginners type book. After getting my feet wet with the basic concepts I came back to this book and could actually use it to learn from.
If you have no programming experience than I do not reccommend this as your first book. Get a more introductory book first and then dive into the K&R book.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
By bernie TOP 100 REVIEWER on Sept. 24 2010
Format: Paperback
While maybe not showing extensions of various UNIX flavors it also does not clutter with .net and other temporally contrived notions that inhibit portability.

Some people refer to this as the "c" bible. Written by Brian W. Kernighan, and Dennis Ritchie, well known in the C and UNIX field. This book is not cluttered with C++ forcing you to figure out what part is "c".

You may think that this book is not for beginners. However it is actually more of a combination of dictionary and "The Elements of Style" for the "c" language

This does of course include ANSI c, which is transportable to all platforms. It also states that", since the ANSI C library is in many cases modeled on UNIX facilities, this may help your understanding of the library as well."

The language it's self as with any language has its strong points. The main one being pointers. By not duplicating data and not having to movie it all around the application can be lightning fast and the code tight and to the point. Other advantages of the language are pointed out as with bit shifting.

This book should be used as a prerequisite to c communications books.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
By Jeff Pike on March 16 2004
Format: Paperback
I bought this book a few years back as a first book on C programming. I heard this book was by the smart guys that wrote the language, and I was going to get it straight from the source. I had one problem though; I couldn't handle the info. At that time I got discouraged 1/3 of the way through the introductory chapter and put it down. I didn't pick it up again until a couple of weeks ago.
Having since read another introductory text on C, I can understand this book now. Now that I can understand it, I enjoy and appreciate the elegant clarity of the concise writing style. It's a great second or third book on C. It provides the foundations necessary to advance to the intermediate programming level and beyond.
This book is very condensed. Although it's short, it's not a book most of us will read very fast. It's quite different from most modern books on programming. Still, it's quite digestible if you've had a good introduction to C and programming in general. For me, this book filled in all the nagging little questions left by other introductory books. The index is excellent and useful. I cannot overstate how much a good index is worth in a book like this. Appendix A, which is a reference manual for the language is also excellent.
Although the book is dated, its effectiveness is not hindered by time. It covers the language backwards and forewards with absolute clarity. If you really want to know C, I suggest picking up this book after an introductory text. I know that the information in this book will save me from hours of frustrating beginner mistakes. I think I'm ready to move on to Stevens now.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.

Most recent customer reviews



Feedback