Multiple choice general knowledge science & technology

A variable P is called pointer if

  1. P contains the address of an element in DATA.

  2. P points to the address of first element in DATA

  3. P can store only memory addresses

  4. P contain the DATA and the address of DATA

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

In programming, a pointer is a variable whose value is the memory address of another variable. While it can store addresses, the functional definition is that it 'points' to the location of data.