A pointer is a special kind of variable that stores the address in memory of another variable and can be used to manipulate that variable. In general, whenever a variable is used in C++, it must exist somewhere in the host computer’s memory, and pointers can store the location of a particular variable.

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy