Enjoy fast, free delivery, exclusive deals, and award-winning movies & TV shows.
Buy new:
-42% $26.08
FREE delivery Sunday, December 28 on orders shipped by Amazon over $35
Ships from: Amazon.com
Sold by: Amazon.com
$26.08 with 42 percent savings
List Price: $44.99 Image
Get Fast, Free Shipping with Amazon Prime
FREE delivery Sunday, December 28 on orders shipped by Amazon over $35
Or fastest delivery Wednesday, December 24. Order within 11 hrs 56 mins
Arrives 1 day before Christmas
Only 6 left in stock (more on the way).
$$26.08 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$26.08
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Shipper / Seller
Amazon.com
Amazon.com
Shipper / Seller
Amazon.com
Returns
FREE refund/replacement until Jan 31, 2026
FREE refund/replacement until Jan 31, 2026
For the 2025 holiday season, eligible items purchased between November 1 and December 31, 2025 can be returned until January 31, 2026.
Read full return policy
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
$6.78
Pages can have notes/highlighting. Spine may show signs of wear. ~ ThriftBooks: Read More, Spend Less Pages can have notes/highlighting. Spine may show signs of wear. ~ ThriftBooks: Read More, Spend Less See less
FREE delivery December 30 - January 2. Details
Arrives after Christmas. Need a gift sooner? Send an Amazon Gift Card today by email or text message.
In stock
$$26.08 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$26.08
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Ships from and sold by ThriftBooks-Phoenix.
Added to

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
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

Get new release updates & improved recommendations
Something went wrong. Please try your request again later.

Practical C Programming: Why Does 2+2 = 5986? (Nutshell Handbooks) 3rd Edition

4.5 out of 5 stars (162)

{"desktop_buybox_group_1":[{"displayPrice":"$26.08","priceAmount":26.08,"currencySymbol":"$","integerValue":"26","decimalSeparator":".","fractionalValue":"08","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"%2B2YoB%2FQU%2FoFWZR%2FYN0efdAsixxu%2F4QxJpyz36iq11wH0zfnyGQNjsAbfiNmfZCcPoRTFJz3DcKIKXxV7x1ld%2BJuYn4%2FFqEr81qOpxmJ3Qy%2BYKMs5TJaZCoaPesU6wGJrDFsW7MAX5xo%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$6.78","priceAmount":6.78,"currencySymbol":"$","integerValue":"6","decimalSeparator":".","fractionalValue":"78","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"%2B2YoB%2FQU%2FoFWZR%2FYN0efdAsixxu%2F4QxJnYZ8YsJL4kV%2B%2BdS%2FKQLdGyzQyC%2FBNpu75F1AKVNqItyO5fiQ%2FbiblNuNHdhVIFeh1e45SMY3Ez8tIpzDWkBfj%2FgmqJ3OwJxQtu8ufzM%2BtGbfvGFqqmjHL%2F3fXI66VVGQMLolh%2BlQd9EOXGvonmkVRk8P4Du7facr","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

There are lots of introductory C books, but this is the first one that has the no-nonsense, practical approach that has made Nutshell Handbooks(R) famous. C programming is more than just getting the syntax right. Style and debugging also play a tremendous part in creating programs that run well and are easy to maintain. This book teaches you not only the mechanics of programming, but also describes how to create programs that are easy to read, debug, and update. Practical rules are stressed. For example, there are fifteen precedence rules in C (&& comes before || comes before ?:). The practical programmer reduces these to two:
  • Multiplication and division come before addition and subtraction.
Contrary to popular belief, most programmers do not spend most of their time creating code. Most of their time is spent modifying someone else's code. This books shows you how to avoid the all-too-common obfuscated uses of C (and also to recognize these uses when you encounter them in existing programs) and thereby to leave code that the programmer responsible for maintenance does not have to struggle with. Electronic Archaeology, the art of going through someone else's code, is described. This third edition introduces popular Integrated Development Environments on Windows systems, as well as UNIX programming utilities, and features a large statistics-generating program to pull together the concepts and features in the language.

Frequently bought together

This item: Practical C Programming: Why Does 2+2 = 5986? (Nutshell Handbooks)
$24.76
Get it as soon as Wednesday, Jan 14
Sold by Ucarstore and ships from Amazon Fulfillment.
+
$35.13
Get it as soon as Sunday, Dec 28
Only 9 left in stock (more on the way).
Ships from and sold by Amazon.com.
+
$65.00
Get it as soon as Friday, Jan 9
Sold by StarPlatinium and ships from Amazon Fulfillment.
Total price: $00
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.

Customers also bought or read

Loading...

From the brand

Editorial Reviews

From the Publisher

There are lots of introductory C books, but this is the one that has the no-nonsense, practical approach that has made Nutshell Handbooks(R) famous. C programming is more than just getting the syntax right. Style and debugging also play a tremendous part in creating programs that run well and are easy to maintain. This new edition of Practical C Programming teaches you not only the mechanics of programming, but also how to create programs that are easy to read, debug, and maintain. It features more extensive examples, offers an introduction to graphical development environments, and describes Electronic Archaeology (the art of going through someone else's code). As in earlier editions, practical rules are still stressed. For example, there are fifteen precedence rules in C (&& comes before || comes before ?:). The practical programmer reduces these to two: multiplication and division come before addition and subtraction put parentheses around everything else. Topics covered: Good programming style C syntax: what to use and what not to use The programming environment, including integrated development kits The total programming process Floating point limitations Tricks and surprises Program examples conform to ANSI C. Covers several Windows compilers, as well as UNIX compilers.

About the Author

Steve Oualline lives in Southern California, where he works as a software engineer for a major phone company. In his free time he is a real engineer on the Poway Midland Railroad. Steve has written almost a dozen books on programming and Linux software. His web site is http://www.oualline.com .

Product details

  • ASIN ‏ : ‎ 1565923065
  • Publisher ‏ : ‎ O'Reilly Media
  • Publication date ‏ : ‎ September 9, 1997
  • Edition ‏ : ‎ 3rd
  • Language ‏ : ‎ English
  • Print length ‏ : ‎ 454 pages
  • ISBN-10 ‏ : ‎ 9781565923065
  • ISBN-13 ‏ : ‎ 978-1565923065
  • Item Weight ‏ : ‎ 1.65 pounds
  • Dimensions ‏ : ‎ 7 x 1.1 x 9.19 inches
  • Part of series ‏ : ‎ Nutshell Handbooks
  • Best Sellers Rank: #760,494 in Books (See Top 100 in Books)
  • Customer Reviews:
    4.5 out of 5 stars (162)

About the author

Follow authors to get new release updates, plus improved recommendations.
Steve Oualline
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 book recommendations and more.

Customer reviews

4.5 out of 5 stars
162 global ratings

Customers say

Customers find the book easy to read and understand, with one noting it explains pointers well. Moreover, the writing quality receives positive feedback, with one customer mentioning it teaches how to write good programs. However, the learning pace and programming knowledge aspects receive mixed reviews, with some considering it the best self-learning resource while others find it not suitable for beginners.
AI Generated from the text of customer reviews

Select to learn more

10 customers mention clarity, 10 positive, 0 negative
Customers find the book easy to read and understand.
I find this book easy to read and it does a fair job of explaining the meanings of the various terms that make up C programming....Read more
This book follows a logical order and is written in a clear, easy to read style. I have 6 books on C on my shelf and this is my favorite.Read more
...It does so by using simple language, examples and by using many illustrations....Read more
Easy to follow the book. In addition, I can use the examples provided in the book to solve my problem.Read more
9 customers mention enlightened content, 7 positive, 2 negative
Customers find the book enlightening, with one mentioning it explains pointers really well, and another noting that the examples are clear.
Practical C Programming is really accessible and enlightening. The topic on pointers serves as a good example....Read more
I used this book to self teach me C. The examples are clear. It has a bunch of exercises....Read more
...It came right on time and has been a great resource! No writing in it, perfect condition.Read more
...This book is shortchanging the beginners by not giving them useful/important (dare I say practical) information about C....Read more
3 customers mention writing quality, 3 positive, 0 negative
Customers appreciate the writing quality of the book, with one noting it teaches how to write good programs.
This book follows a logical order and is written in a clear, easy to read style. I have 6 books on C on my shelf and this is my favorite.Read more
...It came right on time and has been a great resource! No writing in it, perfect condition.Read more
...It teaches more than just theory and the C syntax. It teaches how to write good programs and it focuses on good programming style....Read more
8 customers mention learning pace, 4 positive, 4 negative
Customers have mixed opinions about the learning pace of the book, with some finding it the best self-learning resource for C programming, while others note that learning C is not easy.
I think this book might be the best C self-learning book in my opinion. When I decided to learn C I shop around several "famous" books....Read more
Not the best book if you have programming experience, very basic.Read more
...Language by Brian W. Kernighan ... then together you've got a good start on learning C and many of the modern tools (such as make) that are...Read more
...Learning C is not easy, nor instantaneous. You have to commit some time to it and preferably have some guidance along the way....Read more
5 customers mention programming knowledge, 3 positive, 2 negative
Customers have mixed opinions about the programming knowledge in the book, with some finding it accessible for new programmers and covering good practices extensively, while others note that programming isn't easy.
...What I really liked about the book was how the author covered good programming practices extensively. Highly recommend!Read more
...Beware too that with each chapter, the solutions get even more complex....Read more
Practical C Programming is really accessible and enlightening. The topic on pointers serves as a good example....Read more
...Let's face it, programming isn't easy -- you need to learn some basic concepts, then learn the syntax of a language, then practice and move on to...Read more
Accessible and enlightening
4 out of 5 stars
Accessible and enlightening
Practical C Programming is really accessible and enlightening. The topic on pointers serves as a good example. Pointers are considered one of the most difficult, but at the same time one of the most important, topics in C. This book explains pointers really well. It does so by using simple language, examples and by using many illustrations. The illustrations have really helped me to comprehend pointers in C. The attached images show some of the illustrations used to explain pointers. These illustrations and explanations might seem really basic and a bit childish, but this way I understood the concepts on pointers straight away. It is actually a really valuable skill to be able to explain things simply. As Einstein said: "If you can’t explain it simply, you don’t understand it well enough." Practical C Programming was actually not the first book on C that I started. I actually started with K&R2 (The C Programming Language). That was the book that was recommended and praised the most, so I figured I should study C using K&R2. I got to chapter 3, but with much difficulty. The authors of K&R2 mention that C is a small and concise language and that a book on C should therefore also be concise and small. This did not work well for me. The book assumes a lot of prior knowledge about computer science. New topics are not explained extensively. That's why I switched to Practical C Programming and I am glad I did so. I expect to understand the content of K&R2 much better now that I have finished Practical C. As the title of the book states it is a practical book. It teaches more than just theory and the C syntax. It teaches how to write good programs and it focuses on good programming style. The book is quite old (1991 – 1997). Some information in the book is really outdated, but the main concepts and lessons still apply (I will share some examples about outdated info in the book later on). Overall I found Practical C Programming a really beneficial book. It is easy and enlightening as a first book on C. It is suitable and accessible for new programmers without much experience or a background in computer science. The book contain a few minor things that I disagree on with the author. I rate it 7.5 out of 10.
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 April 20, 2001
    Format: PaperbackVerified Purchase
    I'm surprised at some of the single-star reviews for this book. IMHO, anyone who thinks this book isn't clearly written simply didn't spend enough time reading and thinking about the material. Let's face it, programming isn't easy -- you need to learn some basic concepts, then learn the syntax of a language, then practice and move on to advanced features. This book does an excellent job of helping programmers, even complete novices, do just that.
    The author also goes beyond the basics, and covers some hints and tips that are not mentioned in any other beginner's book that I can find. For example, many beginner's books warn about the erratic behavior of scanf(), but only Practical C takes the extra step by providing a complete workaround (the author advises not to use scanf(), and to use fgets() and sscanf() instead).
    I'm only a beginner, and so far I have purchased and read through Greg Perry's Absolute Beginner's Guide to C, Dave Mark's Learn C on the Macintosh (and on Win 95), the classic K&R C Programming Language, and Practical C. All of these books have their advantages, but I think K&R is a bit too difficult for complete newbies. The Perry and Mark books may be a little too simple, but they're excellent quick reads. Practical C is the perfect middle ground, and I recommend that it be read in conjuction with one of the easier books before moving on to K&R.
    I also recommend that you read through a chapter completely to get the concepts, then go back and do all the exercises for reinforcement. That's what I did, and even though I struggled to "get" some of the material the first time around, on the second read-through everything managed to sink in.
    I can't recommend this book highly enough -- it is clear, accurate, and a pleasure to read and work through.
    48 people found this helpful
    Report
  • Reviewed in the United States on December 25, 2023
    Format: PaperbackVerified Purchase
    I think this book might be the best C self-learning book in my opinion. When I decided to learn C I shop around several "famous" books. This book caught my eye because it explains all the technical details so clearly. I am pretty sure the author understands C very well. Meanwhile, the author always emphasizes some best practices in coding which is super helpful when I started learning C. I understand this book is kind of old, but I still recommend this book to readers who want to learn C by him/herself.

    Notes: after finishing the book, another good one to read is Understanding and Using C Pointers.
    4 people found this helpful
    Report
  • Reviewed in the United States on June 18, 2024
    Format: PaperbackVerified Purchase
    Perfect as a review for someone like me that hasn’t programed in C for approx 40ish years.
  • Reviewed in the United States on July 22, 2019
    Format: PaperbackVerified Purchase
    Practical C Programming is really accessible and enlightening. The topic on pointers serves as a good example. Pointers are considered one of the most difficult, but at the same time one of the most important, topics in C. This book explains pointers really well. It does so by using simple language, examples and by using many illustrations. The illustrations have really helped me to comprehend pointers in C. The attached images show some of the illustrations used to explain pointers.

    These illustrations and explanations might seem really basic and a bit childish, but this way I understood the concepts on pointers straight away. It is actually a really valuable skill to be able to explain things simply. As Einstein said: "If you can’t explain it simply, you don’t understand it well enough."

    Practical C Programming was actually not the first book on C that I started. I actually started with K&R2 (The C Programming Language). That was the book that was recommended and praised the most, so I figured I should study C using K&R2. I got to chapter 3, but with much difficulty. The authors of K&R2 mention that C is a small and concise language and that a book on C should therefore also be concise and small. This did not work well for me. The book assumes a lot of prior knowledge about computer science. New topics are not explained extensively. That's why I switched to Practical C Programming and I am glad I did so. I expect to understand the content of K&R2 much better now that I have finished Practical C.

    As the title of the book states it is a practical book. It teaches more than just theory and the C syntax. It teaches how to write good programs and it focuses on good programming style.

    The book is quite old (1991 – 1997). Some information in the book is really outdated, but the main concepts and lessons still apply (I will share some examples about outdated info in the book later on).

    Overall I found Practical C Programming a really beneficial book. It is easy and enlightening as a first book on C. It is suitable and accessible for new programmers without much experience or a background in computer science. The book contain a few minor things that I disagree on with the author. I rate it 7.5 out of 10.
    Customer image
    4.0 out of 5 stars
    Accessible and enlightening

    Reviewed in the United States on July 22, 2019
    Practical C Programming is really accessible and enlightening. The topic on pointers serves as a good example. Pointers are considered one of the most difficult, but at the same time one of the most important, topics in C. This book explains pointers really well. It does so by using simple language, examples and by using many illustrations. The illustrations have really helped me to comprehend pointers in C. The attached images show some of the illustrations used to explain pointers.

    These illustrations and explanations might seem really basic and a bit childish, but this way I understood the concepts on pointers straight away. It is actually a really valuable skill to be able to explain things simply. As Einstein said: "If you can’t explain it simply, you don’t understand it well enough."

    Practical C Programming was actually not the first book on C that I started. I actually started with K&R2 (The C Programming Language). That was the book that was recommended and praised the most, so I figured I should study C using K&R2. I got to chapter 3, but with much difficulty. The authors of K&R2 mention that C is a small and concise language and that a book on C should therefore also be concise and small. This did not work well for me. The book assumes a lot of prior knowledge about computer science. New topics are not explained extensively. That's why I switched to Practical C Programming and I am glad I did so. I expect to understand the content of K&R2 much better now that I have finished Practical C.

    As the title of the book states it is a practical book. It teaches more than just theory and the C syntax. It teaches how to write good programs and it focuses on good programming style.

    The book is quite old (1991 – 1997). Some information in the book is really outdated, but the main concepts and lessons still apply (I will share some examples about outdated info in the book later on).

    Overall I found Practical C Programming a really beneficial book. It is easy and enlightening as a first book on C. It is suitable and accessible for new programmers without much experience or a background in computer science. The book contain a few minor things that I disagree on with the author. I rate it 7.5 out of 10.
    Images in this review
    Customer imageCustomer image
    5 people found this helpful
    Report
  • Reviewed in the United States on August 24, 2013
    Format: PaperbackVerified Purchase
    I used this book to self teach me C.
    The examples are clear. It has a bunch of exercises. Some of the examples presented have errors but that is fully called out by the author, rather than thinking them as errors or examples, think of them as more exercises. You never really learn a programming language until you think in that language AND debug code from someone else. Learning C is not easy, nor instantaneous. You have to commit some time to it and preferably have some guidance along the way. This book is that guidance.
    3 people found this helpful
    Report
  • Reviewed in the United States on June 11, 2013
    Format: PaperbackVerified Purchase
    I find this book easy to read and it does a fair job of explaining the meanings of the various terms that make up C programming. It certainly is a good reference book. I am glad I have it just to be able to use as a reference.
  • Reviewed in the United States on April 15, 2016
    Format: PaperbackVerified Purchase
    Someday I'll finish this book. But it really does deliver on its promises just keep at it. One chapter a day will probably guarantee you finish the book under two months. Beware too that with each chapter, the solutions get even more complex. It's just part of the learning process... you can just comeback again and try the chapter later.
    3 people found this helpful
    Report
  • Reviewed in the United States on January 30, 2016
    Format: PaperbackVerified Purchase
    I got a great deal on this! It was around 50$ at the Barnes and Knoble and I got it for only a fraction of the cost. It came right on time and has been a great resource! No writing in it, perfect condition.

Top reviews from other countries

Translate all reviews to English
  • Nash
    5.0 out of 5 stars Great book
    Reviewed in France on January 1, 2020
    Format: PaperbackVerified Purchase
    Great companion for my CS50 AP
  • Diana S.
    5.0 out of 5 stars Great book for anyone learning to or getting back into programming in C
    Reviewed in Australia on November 24, 2018
    Format: KindleVerified Purchase
    This book has helped me to survive my engineering course! I did not do any programming prior to starting Uni and this book has helped me through many a quandary with the assessments that I have had to complete.
  • mn.
    5.0 out of 5 stars Quando a capa diz que o livro é prático é porque ele é prático mesmo!
    Reviewed in Brazil on February 18, 2023
    Format: PaperbackVerified Purchase
    O autor teve a brilhante ideia de ensinar como programar de forma profissional. Ele ensina, conforme a leitura evolui, cada peça que forma um programa em C no "mundo real". Apesar da data de publicação, trata-se de um livro atemporal, como a própria linguagem escolhida pelo autor.
    Report
  • Adrian
    5.0 out of 5 stars Worth of buying.
    Reviewed in the United Kingdom on June 8, 2015
    Format: PaperbackVerified Purchase
    Nicely written. I found it helpful few times. It helped me to discover the aspects of C that I had no idea about.
  • Dan Stefan
    5.0 out of 5 stars Lo he estado usando un y está guay.
    Reviewed in Spain on January 8, 2018
    Format: PaperbackVerified Purchase
    Le doy las 5 estrellas porque me ha sido de mucha utilidad, es un libro que tiene muchos ejemplos y al menos al tipo de personas como yo nos viene genial, porque con darnos sólo teoría a veces no nos cuaja demasiado sin buenos ejemplos. Vamos, que otros libros sólo tienen teoría y poca práctica, este tiene teoría y hasta el truco del almendruco.

    Lo cogí porque me hacía falta para la carrera de Ingeniería de Computadores en Fundamentos de Programación aunque es mejor como libro de referencia para recordar o consultar dudas, recomiendo antes tener una ligera idea de C de ponerse con este libro, a no ser que seas un genio/a, entonces sí.

    Lo recomiendo a cualquiera con ilusión de aprender C, a los universitarios/as y adolescentes informáticos/as, a los/as que no entiendan los punteros y las estructuras ni para atrás y sobretodo a los/as desesperados/as el día anterior de un examen de programación, por si queréis una biblia a la que rezarle el aprobado.