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

4.7 out of 5 stars 152 ratings
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.
Share <Embed>
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.

Books similar toUnderstanding and Using C Pointers: Core Techniques for Memory Management

Condition: Used: Like New
Comment: Crisp and clean pages, no writing or highlighting. We ship most items same day! 100% satisfaction guaranteed or your money back. Comes with tracking, 24/7 customer service and no-hassle returns.
Access codes and supplements are not guaranteed with used items.
FREE delivery Sunday, February 13
Or fastest delivery Thursday, February 10. Order within 14 hrs 25 mins
In Stock.
Ships from and sold by Amazon.com.
Available at a lower price from other sellers that may not offer free Prime shipping.
List Price: $39.99 Details
Save: $6.00 (15%)
FREE delivery Sunday, February 13
Or fastest delivery Thursday, February 10. Order within 14 hrs 25 mins
Understanding and Using C... has been added to your Cart
Available at a lower price from other sellers that may not offer free Prime shipping.

Amazon First Reads | Editors' picks at exclusive prices

Frequently bought together

  • Understanding and Using C Pointers: Core Techniques for Memory Management
  • +
  • Mastering Algorithms with C: Useful Techniques from Sorting to Encryption
  • +
  • 21st Century C: C Tips from the New School
Total price:
To see our price, add these items to your cart.
Choose items to buy together.

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.

About the Author

Richard Reese has worked in the industry and academics for the past 29 years. For 10 years he provided software development support at Lockheed and at one point developed a C based network application. He was a contract instructor providing software training to industry for 5 years. Richard is currently an Associate Professor at Tarleton State University in Stephenville Texas.



Valentine's Day gift card deals

Product details

  • Publisher ‏ : ‎ O'Reilly Media; 1st edition (May 28, 2013)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 226 pages
  • ISBN-10 ‏ : ‎ 1449344186
  • ISBN-13 ‏ : ‎ 978-1449344184
  • Item Weight ‏ : ‎ 13 ounces
  • Dimensions ‏ : ‎ 7 x 0.48 x 9.19 inches
  • Customer Reviews:
    4.7 out of 5 stars 152 ratings

Customer reviews

4.7 out of 5 stars
4.7 out of 5
152 global ratings

Top reviews from the United States

Reviewed in the United States on January 20, 2020
Verified Purchase
2 people found this helpful
Report abuse
Reviewed in the United States on September 10, 2021
Verified Purchase
Reviewed in the United States on November 9, 2018
Verified Purchase
4 people found this helpful
Report abuse
Reviewed in the United States on July 29, 2019
Verified Purchase
3 people found this helpful
Report abuse
Reviewed in the United States on August 25, 2013
Verified Purchase
8 people found this helpful
Report abuse
Reviewed in the United States on September 15, 2013
Verified Purchase
2 people found this helpful
Report abuse
Reviewed in the United States on March 11, 2020
Verified Purchase
Reviewed in the United States on June 9, 2019
Verified Purchase

Top reviews from other countries

Max
5.0 out of 5 stars Helped a 2nd Year Comp Sci
Reviewed in the United Kingdom on December 18, 2019
Verified Purchase
2 people found this helpful
Report abuse
Barry Moss
5.0 out of 5 stars Well written and very useful
Reviewed in Canada on March 2, 2019
Verified Purchase
Anonymous
5.0 out of 5 stars Great Book On Pointers Even in 2018
Reviewed in India on December 29, 2018
Verified Purchase
3 people found this helpful
Report abuse
fradsham
5.0 out of 5 stars Excellet book on C pointers
Reviewed in Canada on June 28, 2016
Verified Purchase
Amazon Customer
4.0 out of 5 stars Simple, precise.
Reviewed in India on December 31, 2018
Verified Purchase