Skip to content
pointer

File:Pointers.svg · Wikimedia Commons · See Wikimedia Commons

EntityQ118155· pop 60· linked from 453 articles

Also known as *, ptr, pointer data type, C++ pointer, C pointer

type which stores memory addresses in a computer program

AI overview

A pointer is a type of data in computer programs that stores the address of where information is kept in the computer's memory, rather than storing the information itself. Pointers matter because they allow programmers to efficiently access and manipulate data by referencing its location, and they're essential for features like dynamic memory management and creating complex data structures.

AI-generated from the Wikipedia summary — may contain errors.

Wikidata facts

Show 2 more facts
Commons category
Pointers (computing)
Sources (1)

via Wikidata · CC0

~40 min read

Article

I do consider assignment statements and pointer variables to be among computer science's "most valuable treasures."

— Donald Knuth, Structured Programming, with go to Statements

Connections

Categories