Understanding and Using C Pointers: Core Techniques for Memory Management 1st Edition, Kindle Edition

4.6 out of 5 stars 46 customer reviews
ISBN-13: 978-1449344184
ISBN-10: 1449344186
Why is ISBN important?
ISBN
This bar-code number lets you verify that you're getting exactly the right version or edition of a book. The 13-digit and 10-digit formats both work.
Scan an ISBN with your phone
Use the Amazon App to scan ISBNs and compare prices.
Kindle App Ad
Buy
$18.35
Digital List Price: $33.99

Deliver to your Kindle or other device

Price
New from Used from
Kindle Book
$18.35

click to open popover

Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your mobile phone number.


Editorial Reviews

Amazon.com Review

Q&A with Richard Reese, author of "Understanding and Using C Pointers"

Q. Why is your book timely?

A. The C language continues to be a popular and widely used language. In addition, there are millions of lines of C code being maintained. Pointers are central to C and a solid understanding of them is important in crafting reliable and secure software. Understanding C pointers has always been important but they have not always been adequately covered. Their widespread usage in new and old applications begs a complete and comprehensive coverage.

Q. What do you hope that readers of your book will walk away with?

A. I hope that the experienced developer will be able to fill any holes in their understanding of C pointers. I hope that the less experienced developers will become more proficient and confident in their application of pointers.

Q. Can you give us a few tips on using pointers?

  1. Be careful when using pointers to void. If you cast a pointer to a pointer to void there is nothing preventing you from casting it to a different pointer type.
  2. When using function pointers the programmer must be careful to ensure it is used properly because C does not check to see if the correct parameters are passed.
  3. New code development should use the restrict keyword with most pointer declarations. This will enable better code optimization. Modifying existing code may not be worth the effort.
  4. Compilers do not always do a good job at reporting alias-related warnings. They can sometimes miss aliases and may sometimes report alias problems where they don't exist. It is ultimately up to the programmer to identify alias conditions.
  5. Remember NULL and NUL are different. NULL is used as a special pointer and is typically defined as ((void*)0). NUL is a char and is defined as '0'. They should not be used interchangeably.
  6. Improperly aligned pointers can result in an abnormal program termination or retrieval of bad data. In addition, slower pointer access is possible if the compiler is required to generate additional machine code to compensate for the improper alignment.

Book Description

Core techniques for memory management

Product details

  • File Size: 7301 KB
  • Print Length: 226 pages
  • Simultaneous Device Usage: Unlimited
  • Publisher: O'Reilly Media; 1 edition (May 1, 2013)
  • Publication Date: May 1, 2013
  • Sold by: Amazon Digital Services LLC
  • Language: English
  • ASIN: B00CLX8PL0
  • Text-to-Speech: Enabled
  • X-Ray:
  • Word Wise: Not Enabled
  • Lending: Not Enabled
  • Enhanced Typesetting: Enabled
  • Amazon Best Sellers Rank: #127,761 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  • Would you like to tell us about a lower price?


Customer reviews

Rated by customers interested in
Software Engineering Books
4.7 out of 5 stars
4.7 out of 5 stars
Computer Books
4.6 out of 5 stars
4.6 out of 5 stars
Computer Science
4.6 out of 5 stars
4.6 out of 5 stars

Top customer reviews

on September 4, 2014
Format: Paperback|Verified Purchase
0Comment|Was this review helpful to you?YesNoReport abuse
on September 12, 2017
Format: Paperback|Verified Purchase
0Comment|Was this review helpful to you?YesNoReport abuse
on May 6, 2016
Format: Paperback|Verified Purchase
0Comment|Was this review helpful to you?YesNoReport abuse
on March 24, 2014
Format: Paperback|Verified Purchase
0Comment|Was this review helpful to you?YesNoReport abuse
on July 22, 2016
Format: Paperback|Verified Purchase
0Comment|Was this review helpful to you?YesNoReport abuse
on May 14, 2014
Format: Paperback|Verified Purchase
0Comment|Was this review helpful to you?YesNoReport abuse
on August 1, 2016
Format: Kindle Edition|Verified Purchase
0Comment|Was this review helpful to you?YesNoReport abuse
on March 27, 2014
Format: Paperback|Verified Purchase
0Comment|Was this review helpful to you?YesNoReport abuse

Most recent customer reviews

Set up an Amazon Giveaway

Understanding and Using C Pointers: Core Techniques for Memory Management
Amazon Giveaway allows you to run promotional giveaways in order to create buzz, reward your audience, and attract new followers and customers. Learn more about Amazon Giveaway
This item: Understanding and Using C Pointers: Core Techniques for Memory Management