Multiple choice

A pointer is _____.

  1. the address of a variable

  2. an indication of the variable to be accessed next

  3. a variable for storing addresses

  4. the data type of an address variable

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

A pointer is a variable that stores memory addresses. Option C correctly defines a pointer as 'a variable for storing addresses.' Pointers allow you to indirectly access and manipulate memory locations. Option A is incomplete - while pointers contain addresses, they are themselves variables. Option B describes program flow. Option D describes a pointer's type, not what a pointer is.