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
Kings Park, New York

... is 3.32. In the town the population is spread out with 25.2% under the age of 18, 5.7% from 18 to 24, 31.9% from 25 to 44, 23.3% from 45 to 64, and 13.9% who are 65 years ...

 
 
 
This page was created in 23.3 ms