Buy new:
$53.60
FREE delivery: Jan 26 - 30
Ships from: Amazon.com
Sold by: Amazon.com
List Price: $67.00 Details

The List Price is the suggested retail price of a new product as provided by a manufacturer, supplier, or seller. Except for books, Amazon will display a List Price if the product was purchased by customers on Amazon or offered by other retailers at or above the List Price in at least the past 90 days. List prices may not necessarily reflect the product's prevailing market price.
Learn more
Save: $13.40 (20%)
FREE Returns
Return this item for free
  • Free returns are available for the shipping address you chose. You can return the item for any reason in new and unused condition: no shipping charges
  • Learn more about free returns.
FREE delivery January 26 - 30
Or fastest delivery January 24 - 26

$$53.60 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$53.60
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
FREE delivery Wednesday, January 24
Or fastest delivery Tuesday, January 23. Order within 14 hrs 34 mins
Condition: Used: Good
Comment: Good Used Book! The binding is Good with used pages and cover. Cover/spine have wear. May have notes or highlighting.
Access codes and supplements are not guaranteed with used items.
Loading your book clubs
There was a problem loading your book clubs. Please try again.
Not in a club? Learn more
Amazon book clubs early access

Join or create book clubs

Choose books together

Track your books
Bring your club to Amazon Book Clubs, start a new book club and invite your friends to join, or find a club that’s right for you for free.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Follow the author

Something went wrong. Please try your request again later.

C Programming Language, 2nd Edition 2nd Edition

4.7 4.7 out of 5 stars 3,946 ratings

{"desktop_buybox_group_1":[{"displayPrice":"$53.60","priceAmount":53.60,"currencySymbol":"$","integerValue":"53","decimalSeparator":".","fractionalValue":"60","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"l7U1d0eUvpnVR5yvCxcFIzuu6t1FerNAz1rR1vpRByKVX6tFshIa3MpGEeoQo60k0F4lfZSvqusFsK%2FQq0NCqUFlxi6igcwJH%2FNPDQAVBOHgap7uyEYD1it%2FGAY9kcNa8kCbvY%2FroRI%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$42.66","priceAmount":42.66,"currencySymbol":"$","integerValue":"42","decimalSeparator":".","fractionalValue":"66","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"l7U1d0eUvpnVR5yvCxcFIzuu6t1FerNABRMJMvFFrlyBQD3Jbw33qJitAdVFm%2FfikyfTFuidMLCYINsUARgiYTj1bsak3QnD0lLMLMJO0NmLo2UZ90iM%2FQyrqi86jjq0xiR%2BMsU1wHbOXxRIM48GAs3SG%2FwopRLrAqcS2JMjdyTug4ueAXx4E5RfR9RFk1Xw","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

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.

Amazon.com 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?

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.

From the Inside Flap

Preface

The computing world has undergone a revolution since the publication of The C Programming Language in 1978. Big computers are much bigger, and personal computers have capabilities that rival the mainframes of a decade ago. During this time, C has changed too, although only modestly, and it has spread far beyond its origins as the language of the UNIX operating system.

The growing popularity of C, the changes in the language over the years, and the creation of compilers by groups not involved in its design, combined to demonstrate a need for a more precise and more contemporary definition of the language than the First edition of this book provided. In 1983, the American National Standards Institute (ANSI) established a committee whose goal was to produce "an unambiguous and machine-independent definition of the language C," while still retaining its spirit. The result is the ANSI standard for C.

The standard formalizes constructions that were hinted at but not described in the first edition, particularly structure assignment and enumerations. It provides a new form of function declaration that permits cross-checking of defini-tion with use. It specifies a standard library, with an extensive set of functions for performing input and output, memory management, string manipulation, and similar tasks. It makes precise the behavior of features that were not spelled out in the original definition, and at the same time states explicitly which aspects of the language remain machine-dependent.

This second edition of The C Programming Language describes C as defined by the ANSI standard. Although we have noted the places where the language has evolved, we have chosen to write exclusively in the new form. For the most part, this makes no significant difference; the most visible change is the new form of function declaration and definition. Modern compilers already support most features of the standard.

We have tried to retain the brevity of the first edition. C is not a big language, and it is not well served by a big book. We have improved the exposition of critical features, such as pointers, that are central to C programming. We have refined the original examples, and have added new examples in several chapters. For instance, the treatment of complicated declarations is augmented by programs that convert declarations into words and vice versa. As before, all examples have been tested directly from the text, which is in machine-readable form.

Appendix A, the reference manual, is not the standard, but our attempt to convey the essentials of the standard in a smaller space. It is meant for easy comprehension by programmers, but not as a definition for compiler writersÑ that role properly belongs to the standard itself. Appendix B is a summary of the facilities of the standard library. It too is meant for reference by programmers, not implementers. Appendix C is a concise summary of the changes from the original version.

As we said in the preface to the first edition, C "wears well as one's experience with it grows." With a decade more experience, we still feel that way. We hope that this book will help you to learn C and to use it well.Brian W. Kernighan, Dennis M. RitchiePreface to the First Edition

C is a general-purpose programming language which features economy of expression, modern control flow and data structures, and a rich set of operators. C is not a "very high level" language, nor a "big" one, and is not specialized to any particular area of application. But its absence of restrictions and its generality make it more convenient and effective for many tasks than

supposedly more powerful languages.

C was originally designed for and implemented on the UNIX operating sys-tem on the DEC PDP-1 1, by Dennis Ritchie. The operating system, the C compiler, and essentially all UNIX applications programs (including all of the software used to prepare this book) are written in C. Production compilers also exist for several other machines, including the IBM System/370, the Honeywell 6000, and the Interdata 8/32. C is not tied to any particular hardware or system, however, and it is easy to write programs that will run without change on any machine that supports C.

This book is meant to help the reader learn how to program in C. It contains a tutorial introduction to get new users started as soon as possible, separate chapters on each major feature, and a reference manual. Most of the treatment is based on reading, writing and revising examples, rather than on mere statements of rules. For the most part, the examples are complete, real programs, rather than isolated fragments. All examples have been tested directly from the text, which is in machine-readable form. Besides showing how to make

effective use of the language, we have also tried where possible to illustrate useful

algorithms and principles of good style and sound design.

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.

In our experience, C has proven to be a pleasant, expressive, and versatile language for a wide variety of programs. It is easy to learn, and it wears well as one's experience with it grows. We hope that this book will help you to use it well.Brian W. Kernighan, Dennis M. Ritchie

About the Author

Brian W. Kernighan received his BASc from the University of Toronto in 1964 and a PhD in electrical engineering from Princeton in 1969. He was a member of the Computing Science Research center at Bell Labs until 2000, and is now a professor in the Computer Science Department at Princeton. He was a co-creator of several programming languages, including AWK, AMPL, and a number of tools for document preparation. He is the co-author of 10 books and some technical papers, and holds 4

patents. He was elected to the National Academy of Engineering in 2002. His research areas include programming languages, tools and interfaces that make computers easier to use, often for non-specialist users. He is also interested in technology

education for non-technical audiences.

Dennis Ritchie was a computer scientist notable for his influence on ALTRAN, B, BCPL, C, Multics, and Unix.


Amazon First Reads | Editors' picks at exclusive prices

Frequently bought together

$53.60
Ships from and sold by Amazon.com.
+
$26.86
Get it as soon as Tuesday, Jan 23
In Stock
Ships from and sold by Amazon.com.
+
$31.92
Get it Jan 22 - 29
Only 14 left in stock - order soon.
Ships from and sold by Vistaworldstore.
Total price:
To see our price, add these items to your cart.
Details
Added to Cart
Some of these items ship sooner than the others.
Choose items to buy together.
Popular Highlights in this book

From the Publisher

C Programming Language on stack of stack of books

One of the Most Recommended Programming Books of All Time

"It is hard for me to describe just how profoundly that book affected my career. I remember reading it by a campfire in my back yard—my original still smells of smoke—puzzling over the code, and standing to cheer for the concepts. The simple elegance of the writing; the pragmatic outlook of the authors; the sheer beauty of the language thrilled me as no language had before—or has since."

Robert "Uncle Bob" Martin, author of Clean Code.

"K&R is one of my favorite books. The style of the tutorial chapters is so deceptively light and simple and the manual so crisp. Much of C's reputation of simplicity comes from the clarity and great little examples from this book. My 1978 copy has lost its cover and my K&R2 is somewhat dog eared. Above all, K&R is a useful book."

Bjarne Stroustrup, designer and original implementer of C++, and author of The C++ Programming Language

Product details

  • Publisher ‏ : ‎ Pearson; 2nd edition (March 22, 1988)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 272 pages
  • ISBN-10 ‏ : ‎ 0131103628
  • ISBN-13 ‏ : ‎ 978-0131103627
  • Item Weight ‏ : ‎ 1.14 pounds
  • Dimensions ‏ : ‎ 7.1 x 0.6 x 9.2 inches
  • Customer Reviews:
    4.7 4.7 out of 5 stars 3,946 ratings

Important information

To report an issue with this product or seller, click here.

About the author

Follow authors to get new release updates, plus improved recommendations.
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Discover more of the author’s books, see similar authors, read author blogs and more

Customer reviews

4.7 out of 5 stars
4.7 out of 5
3,946 global ratings
All Photos
Different
4 Stars
Different
Mine wasn't the version pictured. I was sent a 'Second Edition' (Based on Draft-Proposed ANSI C). So, it may differ. The description of its condition was accurate.
Different
Thank you for your feedback
Sorry, there was an error
Sorry we couldn't load the review

Top reviews from the United States

Reviewed in the United States on October 14, 2023
5 people found this helpful
Report
Reviewed in the United States on June 1, 2020
66 people found this helpful
Report
Reviewed in the United States on July 12, 2009
12 people found this helpful
Report

Top reviews from other countries

Translate all reviews to English
Fernanda
5.0 out of 5 stars C
Reviewed in Brazil on June 24, 2023
Guillermo Sanchez
5.0 out of 5 stars Indispensable
Reviewed in Mexico on August 18, 2023
Lokesh Bisht
5.0 out of 5 stars Content is great. Book quality is cheap
Reviewed in Germany on December 30, 2023
Marco
5.0 out of 5 stars La Bibbia del C
Reviewed in Italy on December 15, 2023
Gamers C.
5.0 out of 5 stars Great book for C
Reviewed in India on October 27, 2023
One person found this helpful
Report