Encyclopedia > Indirection

  Article Content

Indirection

In computer programming, indirection is the act of manipulating a value through its address. For example, accessing a variable through the use of a pointer to it is a type of indirection (often called dereferencing[?]).

In the C/C++ programming languages, the asterisk (*) is the indirection operator. When placed before a pointer, it refers to the value pointed to.

A stored pointer that exists to provide a reference to an object by double indirection is called an indirection node.

See also: Handle



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Thomas a Kempis

... piety commended by the "Imitation" is of a selfish monkish type. It was written by a monk and intended for the convent; it lays stress on the passive qualities and does ...

 
 
 
This page was created in 21.1 ms