or
Sign in to turn on 1-Click ordering.
or
Amazon Prime free trial required. Sign up when you check out. Learn more
More Buying Choices
Have one to sell? Sell yours here
or
Get a £15.85 Amazon.co.uk Gift Card
The  C Programming Language (2nd Edition)
 
See larger image
 
Tell the Publisher!
I’d like to read this book on Kindle

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

The C Programming Language (2nd Edition) [Paperback]

Brian Kernighan , Dennis Ritchie
4.7 out of 5 stars  See all reviews (115 customer reviews)
RRP: £39.99
Price: £33.99 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £6.00 (15%)
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.
Dispatched from and sold by Amazon.co.uk. Gift-wrap available.
Want guaranteed delivery by Wednesday, May 30? Choose Express delivery at checkout. See Details

Formats

Amazon Price New from Used from
Hardcover --  
Paperback £33.99  
Trade In this Item for up to £15.85
Trade in The C Programming Language (2nd Edition) for an Amazon.co.uk gift card of up to £15.85, which you can then spend on millions of items across the site. Plus, get an extra £5 when you trade in books worth £10 or more until June 30, 2012. Trade-in values may vary (terms apply). Find more products eligible for trade-in.

Frequently Bought Together

Customers buy this book with C Pocket Reference £5.62

The  C Programming Language (2nd Edition) + C Pocket Reference
Price For Both: £39.61

Show availability and delivery details

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

    In stock.
    Dispatched from and sold by Amazon.co.uk.
    This item Delivered FREE in the UK with Super Saver Delivery. See details and conditions

  • C Pocket Reference

    In stock.
    Dispatched from and sold by Amazon.co.uk.
    This item Delivered FREE in the UK with Super Saver Delivery. See details and conditions



Product details

  • Paperback: 274 pages
  • Publisher: Prentice Hall; 2 edition (22 Mar 1988)
  • Language English
  • ISBN-10: 0131103628
  • ISBN-13: 978-0131103627
  • Product Dimensions: 23.4 x 17.5 x 1.5 cm
  • Average Customer Review: 4.7 out of 5 stars  See all reviews (115 customer reviews)
  • Amazon Bestsellers Rank: 6,259 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Authors

Discover books, learn about writers, and more.

Product Description

Amazon.co.uk Review

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

Amazon.co.uk Review

Just about every C programmer I respect learned C from this book. Unlike many of the 1,000 page doorstops stuffed with CD-ROMs that have become popular, this volume is concise and powerful (if somewhat dangerous)--like C itself. And it was written by Kernighan himself. Need we say more? --Amazon.com

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

Most Helpful Customer Reviews
35 of 36 people found the following review helpful
A programming classic 10 Sep 1998
By A Customer
Format:Paperback
If you read a lot of computer books, you can easily tell the good ones: they are frequently cited. Well, this book is frequently cited. You even find references to it in computer books that have nothing to do with C programming. That fact should tell you something.

I learned C from this book, and I have to agree with the authors that cite it--it's a good book. I have yet to see its equal for brevity, elegance, and completeness in teaching C programming. If you are a programmer who wants to learn C, then ignore the rest and read the best.

One warning though--this is not a book for beginners. As Kernighan and Ritchie say in the preface: "The book is not an introductory programming manual; it assumes some familiarity with basic programming concepts like variables, assignment statements, loops, and functions. Nonetheless, a novice programmer should be able to read along and pick up the language, although access to a more knowledgeable colleague will help." If you are a complete novice, heed their warning. If you don't have access to a more knowledgeable colleague, you will probably be better off selecting an easier book.

Was this review helpful to you?
23 of 24 people found the following review helpful
By A Customer
Format:Paperback
This book is not "for Dummies". It assumes that you already have some knowledge of structured programming languages (i.e. Pascal). For example, this book spends four well-written pages explaining everything you need to know about functions. If you don't know what a function is, this will clearly not be enough. However, if you do know about functions, this book will not drone on and on for an entire chapter or two on the subject like some of the foot-crunching tomes the size of an encyclopdia.

The book is expensive ($40) for its size (approx. 250pgs.), but it is worth every penny. To quote the authors: "C is not a big language, and it is not served well by a big book."

As a bonus, almost anything you need to know about C can be found in seconds using the excellent index. It should be noted that this is a language reference and will NOT tell you how to use your editing environment or compiler.

In summary, intermediate or advanced programmers should be able to learn C with reasonable proficiency in a short amount of time.

Was this review helpful to you?
33 of 35 people found the following review helpful
A masterpiece 24 Jan 2003
Format:Paperback
It is difficult to avoid cliches when talking about this book - it is just so good, that one can't help heaping superlatives on it.

This book is affectionately known as 'K & R', after the names of the authors, and it is almost definitely the most widely respected of all books on any given programming language.

This is the book that introduced the 'Hello World!' program to the world :-), which is now practically a standard first program in any introductory book on any programming language.

This is straight from the creators, and the implied authority, while an excellent reason in itself for taking a look at the book, pales in comparison to its other merits - brevity & clarity being foremost.

This book is best appreciated if you already have some programming background - i say this from experience, since i knew Fortran 77 & Pascal before i learnt C, and the knowledge of Pascal, in particular,made it much easier for me to pick up C than classmates for whom it was the first programming language.

Of course, if you're new to programming, you could still try learning from this, but it might be a bit of a struggle. If so, the books by Kelley & Pohl, K.N.King or Gottfried(Schaum series) may be useful for 'getting upto speed' with C first, and then coming to K & R.

C is the one language which is both 'high level' and 'low level' at the same time - to date, it is the nearest to the ideal of a programming language that is easy enough in description to be followed by human readers, and at the same time close enough to the machine's language to be executed fast.There are faster languages, to be sure - assembly language is necessarily faster than any high level language. But just try coding a reasonably involved program in assembly, or even reading such an effort ! There are other languages which might be 'easier' for people to read, but they are slower(C++,Java,etc,etc).

It is also the 'mother' of all modern biggies - C++ owes even its very name to C, Java was derived from C++, and Perl is **written** in C !!

So knowing C would give you a better appreciation of the other languages as well.

And it's still the language of choice for systems programming - so no systems programmer can afford to be a non-expert at C.

Anyway, back to the book - and what a book it is! The authors are not just great programmers, they are outstanding writers as well.

The book is just 274 pages, but it will teach you more than most thick 'tomes' on programming could ever possibly teach.

And no, that doesn't imply that it's 'dense' or abtruse. The authors choose their words judiciously, and there is not a word out of place.The book is designed to make you think, for there is no better way of learning than to think things out for yourself.

Reading the carefully worded text and working out the compact examples will teach you a lot - if you can go through all the exercises, well then you'll surely be an expert when you finish the book. I never did, but i learnt enough to implement several projects in C over the past six years, right from searching and sorting to cryptography and speech recognition.

The examples in this book are a thing of beauty (and therefore a joy forever!!). Elegance, in one word.

It has that universal characteristic of a great book - no matter how many times you read it, you'll learn something new.

You may buy several other books for specialized purposes of particular projects, but when you want to get into the nitty-gritty, to clarify any elusive points, you'll return here, to 'the word of the law', as laid out by the creators of the language.

Basically, if you program in C, you've just got have this book -
and once you have it, you'll find it indispensable.

Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
If you still use C, this is the book for you
If you want to learn C and you know why you have selected C as your programming language then this is the book for you. Read more
Published 1 month ago by Khuram Iftikhar
Programming in C
After 3 years at university I found this book in the last semester and wished I had found it in the first. Read more
Published 1 month ago by jcunited
Top marks, would recommend
This item is simply a must-have for anyone looking to become knowledgeable of C. It is not an entry level guide for novice progammers who wish to learn the discipline but it does... Read more
Published 2 months ago by LazyAugust
The Reference Book
This is an unbelievable track record for a technical text book. The book that I received is in its Second Edition and is on its 48th re-reprint. Read more
Published 4 months ago by Raphael
The book for an informatic
If you are a real informatic, you love this book. In 275 pages the are all you need to know for use C, for all architecture.
Published 4 months ago by panzone
PERFECT!
Exactly as describe, quick delivery, good condition, and great price as well. I would definatly recommend this buy for anyone interested in learnin C!
Published 9 months ago by Spenser
Excelent book for introducing C
The C Programming Language is well known book for learning C. Not much can I say, beside the repeated praises. Read more
Published 9 months ago by Miguel Correia Ricardo
Highly discouraged
If you want to learn C, the first thing you should do is throw this book to the bin. Aside from the fact that it is available for free in pdf format, their authors did not have the... Read more
Published 10 months ago by Pen Name
The definitive guide...
Terse and precise this is the definitive guide to the C programming language, by the masters themselves. Read more
Published 12 months ago by Gav
A good book but...
This is a very well written and concise book, however it seems to be focused at people with some programming experience, which in conjunction with its slightly dated appearance... Read more
Published 15 months ago by Alan
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!


Look for similar items by category


Look for similar items by subject


Feedback


Amazon.co.uk Privacy Statement Amazon.co.uk Delivery Information Amazon.co.uk Returns & Exchanges