Summary of Pointer Basics

In the preceding sections, you have seen how to do these operations:

Declare a pointer to a simple variable

Initialize a pointer, making it point to a variable

Use a pointer to get the value of a variable

Use a pointer to change the contents of a variable

It's important for you to be comfortable with these basic ideas before reading about the more advanced uses of pointers. If you're not sure you understand these concepts, you may want to experiment with the POINTER.C program to reinforce what you know. For instance, you might add some new variables of different types and create new pointers to access them.