Skip over navigation

Why Use Pointers?

Introduction and Summary

Table of Contents


After learning the basics of pointers and how to use them, we move on to why we use them. Why are pointers useful?

Pointers are useful for many reasons, but three of the most important deal with void pointers and their applications in casting, the passing of arguments to functions, and dynamic memory allocation. All of these will be discussed.