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
Shoreham, New York

... of the census of 2000, there are 417 people, 145 households, and 126 families residing in the village. The population density is 365.9/km² (938.3/mi²). Th ...

 
 
 
This page was created in 45.9 ms