89.3k views
1 vote
A variable that can store an address is known as a(n) ____ variable.

A) register
B) pointer
C) static
D) extern

User Phury
by
5.1k points

1 Answer

2 votes

A variable that holds an address is known as a pointer variable.

Such variable "points" to location of memory in computer, the location can be another variable, primitive data type, object and more.

The answer is therefore B.

Hope this helps.

r3t40

User Esfira
by
4.6k points