Table of Contents

data Keyword 1

pointer (what is it, declaration of).

Definition

To put it in simple terms, a pointer is a memory address. The first thing you must do with a pointer, is to declare a pointer variable. Set it to point somewhere, and finally manipulate the value that it points to.

A simple pointer declaration can be:

int *ip;

The asterisk used means that the “ip”, the variable that you are declaring, is not of the “int” type, but a type of “pointer to an int” type.

References

List any sites, books, or sources utilized when researching information on this topic. (Remove any filler text).