Programming Books C Java PHP Python Learn more Browse Programming Books
Expert C Programming: Deep Secrets and over one million other books are available for Amazon Kindle. Learn more
  • List Price: $42.99
  • Save: $25.69 (60%)
Rented from RentU
To Rent, select Shipping State from options above
Due Date: Aug 17, 2014
FREE return shipping at the end of the semester. Access codes and supplements are not guaranteed with rentals.
FREE Shipping on orders over $35.
Used: Good | Details
Sold by RentU
Condition: Used: Good
Comment: Fast shipping from Amazon! Qualifies for Prime Shipping and FREE standard shipping for orders over $25. Overnight, 2 day and International shipping available! Excellent Customer Service.. May not include supplements such as CD, access code or DVD.
Add to Cart
  • List Price: $42.99
  • Save: $9.23 (21%)
FREE Shipping on orders over $35.
In Stock.
Ships from and sold by
Gift-wrap available.
Add to Cart
Want it tomorrow, April 17? Order within and choose One-Day Shipping at checkout. Details
Trade in your item
Get a $8.06
Gift Card.
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

Expert C Programming: Deep C Secrets Paperback

ISBN-13: 978-0131774292 ISBN-10: 0131774298 Edition: 1st

See all 3 formats and editions Hide other formats and editions
Amazon Price New from Used from Collectible from
"Please retry"
"Please retry"
$29.99 $17.23


Frequently Bought Together

Expert C Programming: Deep C Secrets + C Programming Language, 2nd Edition
Price for both: $82.75

Buy the selected items together

Customers Who Bought This Item Also Bought


Shop the new
New! Introducing the, a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Product Details

  • Paperback: 353 pages
  • Publisher: Prentice Hall; 1st edition (June 24, 1994)
  • Language: English
  • ISBN-10: 0131774298
  • ISBN-13: 978-0131774292
  • Product Dimensions: 9.2 x 7.5 x 0.8 inches
  • Shipping Weight: 1.5 pounds (View shipping rates and policies)
  • Average Customer Review: 4.4 out of 5 stars  See all reviews (111 customer reviews)
  • Amazon Best Sellers Rank: #53,664 in Books (See Top 100 in Books)

Editorial Reviews Review

Defying the stereotypical notion that technical books tend to be boring, Expert C Programming offers a lively and often humorous look at many aspects of C--from how memory is laid out to the details of pointers and arrays. The author reveals his points through invaluable anecdotes, such as stories of costly bugs, and through folklore, such as the contents of Donald Knuth's first publication. Each chapter ends with a section entitled "Some Light Relief," which discusses topics (topics that some may consider to be "recreational"), such as programming contests. A fabulous appendix on job interview questions finishes the book.

From the Back Cover

This is a very different book on the C language! In an easy, conversational style, Peter van der Linden, of Sun's compiler and OS kernel group, presents dozens of astonishing examples drawn from practical experience, including:

  • Software that blew up the space probe to Venus
  • The C bug that shut down the entire AT&T phone system
  • C programmer job interview secrets
  • Why programmers can't tell Halloween from Christmas day
  • The C code for a complete BASIC interpreter

Expert C Programming reveals the coding techniques used by the best C programmers. It relates C to other languages, and includes an introduction to C++ that can be understood by an programmer without weeks of mind-bending study. Covering both the IBM PC and UNIX systems, it is an entertaining and educational romp through C showing how experts really use it. Expert C Programming is a must read for anyone who wants to learn more about the implementation, practical use, and folklore of C.

"Not just clearly written, but fun to read. The tone and style of this text should make this a popular book with professional programmers. However, the tone of this book will make it very popular with undergraduates. Appendix A alone would make the purchase of this book a must. It's filled with great advice."

—Professor Jack Beidler, Chairman, Department of Computer Science, University of Scranton

"So that's why extern char *cp isn't the same as extern char cp. I knew that it didn't work despite their superficial equivalence, but I didn't know why. I also love the job interview test questions on C."

—David S. Platt, Rolling Thunder Computing

"In Expert C Programming, Peter van der Linden combines C language expertise and a subtle sense of humor to deliver a C programming book that stands out from the pack. In a genre too often known for windy, lifeless prose, van der Linden's crisp language, tongue-in-cheek attitude, and real-world examples engage and instruct."

—John Barry, author of Sunburst, Technobabble, and other books

More About the Author

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

Both this book and "Just Java" are a pleasure to read.
Hollister Herhold
This book is not for beginners, but is a great second book on C. Expert C Programming is also ideal for those C programmers who want to move to C++.
Vinit Carpenter
This book is worth reading, even if you have been pounding out C for a decade.
Jeffrey Wheeler

Most Helpful Customer Reviews

47 of 49 people found the following review helpful By SciFi Fan on May 31, 2000
Format: Paperback Verified Purchase
This book exposes many C programming language obscurities - particularly related to pointers, memory usage, and compiling. All of these things are things that you need in order to become an advanced C programmer.
This book is full of little nuggets. I keep it by my desk, and when I have a free moment, I turn to a page at random and read the section that catches my eye. It is a great way to learn something new or reinforce something you know.
If you are looking for a "bag of tricks" book with canned routines, this is not the book for you. For a good bag of tricks, check out "Mastering Algorithms with C," ISBN 1-56592-453-3.
Comment 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
38 of 40 people found the following review helpful By Douglas Welzel on October 23, 2001
Format: Paperback
This title has been sitting on my shelf for years, but for some reason I decided to start flipping through it the other day. It's sad to admit this, but I couldn't put it down! I really wish I had taken the time to read this years ago.
In a reasonably short title, this book covers more about the nooks and crannies of C than almost any other book I have come across -- and does it in a way that keeps the reader's attention. Subtle aspects of the language are presented in detail and accompanied by interesting stories and suggestions (called "Handy Heuristics" in the book) for improving your own code.
The book then steps a bit outside of the language to explain (briefly) how linkers work and how executable are structured. This information helps to round out the language specific material and is something you won't find in too many other places.
The only downside to this title is that the information is probably a bit dated and somewhat Sun specific. However, I wouldn't let either of these items prevent you from adding this to your software development collection.
Comment 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
25 of 26 people found the following review helpful By Hollister Herhold on March 16, 2000
Format: Paperback
A short aside on the author - Peter van der Linden is probably one of the better technical writers out there. Both this book and "Just Java" are a pleasure to read. He's also a good public speaker, if you get a chance to see him in the valley.
Where this book stands out is its lucid explanations of "under the hood" material. What really happens when your program is loaded in? Why aren't pointers and arrays the same? (Bet you thought they were.) This book explains it all.
The section on interview questions is required reading for interviewers and interviewees alike.
In short, a great book. My dog-eared copy has been handed around the office so many times that I had to take it back and force everyone else to get their own copy (which they quickly did).
Only one minor gripe - there are a number of typos in the printing I have. Peter is VERY good about posting errata on his website however, so I can't let this detract from my 5 star rating.
Comment 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
16 of 17 people found the following review helpful By Alexandros Gezerlis on November 20, 2011
Format: Paperback Verified Purchase
Peter van der Linden's "Expert C Programming: Deep C Secrets", published in 1994, is already a classic. It explicitly assumes the reader knows how to program in C (according to the author, this "should be every programmer's second book on C"). In that sense, it is similar to Scott Meyers' "Effective C++" (originally published in 1991). Of course, C is a much smaller language than C++ but, even so, it does have some non-trivial aspects, which are precisely what van der Linden zeroes in on. Given the nature of this text, any review of its good and bad points needs to get down to the nitty-gritty.

The Good: Dennis Ritchie, in his essay on "The Development of the C language", wrote that "Two ideas are most characteristic of C among languages of its class: the relationship between arrays and pointers, and the way in which declaration syntax mimics expression syntax." In the book under review, van der Linden is at his finest when discussing precisely these two topics. Starting with arrays & pointers: the book includes 3 chapters on the subject, first tackling the classic "defined as array / external declaration as pointer" problem. Later, the author returns to the root of the confusion, namely that even though arrays and pointers are distinct entities in declarations/definitions, there is one major exception: a function can have an array parameter, but the argument will be converted to a pointer before the call (though this rule isn't recursive). As a result, even though arrays are not modifiable lvalues, you can use assignment inside a function since the argument will have been converted to a pointer.
Read more ›
Comment 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
22 of 26 people found the following review helpful By "irvine_dude" on March 21, 2003
Format: Paperback
This is an interesting book. It is unlike any other C programming book I have ever read. The book should have been called "A dated cornucopia of tips, tricks, problems, good, bad and ugly things about the C programming Languge."
Most of what the author has said is known to most professional programmers. But, it would definitely be an interesting read if you are new to the world of programming. Most of what the author says is still valid on most contemporary systems, especially if you ignore the oft references to DOS.
I believe a new C programmer should read this as his/her second/third book, just to feel confident among the pros. But, I wouldn't rate it as a must read.
Here are some of the problems with the book:
* too much stupid humor. And in more cases than not, the jokes don't even make you laugh!
* a hodge-podge of topics
* the presentation is not consistent. The author presents problems with pointers, then presents a section on casting, throws around a few programs from the popular IOCCC to impress the kids, then jumps back to pointers, and everything else on Earth.
* the author tries to make a case that C's operator precedence is broken! K&R said that ages back! The author wastes a lot of time lambasting the C standardization commitee! The author wastes quite a few paragraphs quoting sections from the ANSI std.
* the author does not explain anything clearly! Why is a char** not the same as a const char** is never explained! But, the fact is stated and a bogus explanation with useless stories is given over pages and pages.
So, I think this is a decent book, but, if you read K&R thoroughly, and/or implement/maintain enough C software you would know most of these things.
I wouldn't rate this book as a must read, but if you are still a student, and have a week to spare, then make it your second/thrid C book.
1 Comment 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

Product Images from Customers

Most Recent Customer Reviews


What Other Items Do Customers Buy After Viewing This Item?