Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 645 Bytes

File metadata and controls

7 lines (4 loc) · 645 Bytes

Pointer

A pointer is a construct that stores the memory address of another value located in computer memory. A pointer references a location in memory, and obtaining the value stored at that location is known as dereferencing the pointer.

Null pointer

A null pointer or null reference has a value reserved for indicating that the pointer or reference does not refer to a valid object. Programs routinely use null pointers to represent conditions such as the end of a list of unknown length or the failure to perform some action; this use of null pointers can be compared to nullable types and to the Nothing value in an option type.