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
Photosynthesis

... NADP+ reductase[?] which uses them to drive the reaction NADP+ + H+ + 2e- → NADPH This consumes the H+ ions produced by the splitting of water, leading to a net ...

 
 
 
This page was created in 23 ms