File:Pointers.svg · Wikimedia Commons · See Wikimedia Commons
pointer
Sign in to saveAlso known as *, ptr, pointer data type, C++ pointer, C pointer
type which stores memory addresses in a computer program
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
- Stack Exchange tag
- stackoverflow.com/tags/pointers
- 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