Pointers in C Programming
eBook - ePub

Pointers in C Programming

A Modern Approach to Memory Management, Recursive Data Structures, Strings, and Arrays

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Pointers in C Programming

A Modern Approach to Memory Management, Recursive Data Structures, Strings, and Arrays

About this book

Gain a better understanding of pointers, from the basics of how pointers function at the machine level, to using them for a variety of common and advanced scenarios. This short contemporary guide book on pointers in C programming provides a resource for professionals and advanced students needing in-depth hands-on coverage of pointer basics and advanced features. It includes the latest versions of the C language, C20, C17, and C14.

You'll see how pointers are used to provide vital C features, such as strings, arrays, higher-order functions and polymorphic data structures. Along the way, you'll cover how pointers can optimize a program to run faster or use less memory than it would otherwise.

There are plenty of code examples in the book to emulate and adapt to meet your specific needs.

What You Will Learn

  • Work effectively with pointers in your C programming
  • Learn how to effectively manage dynamic memory
  • Program with strings and arrays
  • Create recursive data structures
  • Implement function pointers

Who This Book Is For

Intermediate to advanced level professional programmers, software developers, and advanced students or researchers.Prior experience with C programming is expected.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Pointers in C Programming by Thomas Mailund in PDF and/or ePUB format, as well as other popular books in Computer Science & Compilers. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

  1. Cover
  2. Front Matter
  3. 1. Introduction
  4. 2. Memory, Objects, and Addresses
  5. 3. Pointers
  6. 4. Pointers and Types
  7. 5. Arrays
  8. 6. Working with Arrays
  9. 7. Strings
  10. 8. Substrings Through Ranges
  11. 9. Dynamic Memory Management
  12. 10. Generic Dynamic Arrays
  13. 11. Linked Lists
  14. 12. Search Trees
  15. 13. Function Pointers
  16. 14. Generic Lists and Trees
  17. 15. Reference Counting Garbage Collection
  18. 16. Allocation Pools
  19. 17. Conclusions
  20. Back Matter