Memory Management

Pointer

English

Overview

A variable used to directly handle an address in memory.

Details

A variable that holds a memory address as its value. It enables direct memory manipulation in languages like C, but is also a common source of bugs when misused. Dereferencing a pointer that points to nothing (a null pointer) crashes the program in most languages and environments, and a dangling pointer -- one that still points to memory that's already been freed -- is another classic memory-safety bug.

More Programming terms