Free Online Dictionary
|Wikipedia English The Free Encyclopedia||Download this dictionary|
The dereference operator or indirection operator, denoted by "
*" (i.e. an asterisk), is a unary operator found in C-like languages that include pointer variables. It operates on a pointer variable, and returns an
l-valueequivalent to the value at the pointer address. This is called "dereferencing" the pointer. For example, the C code <source lang="C">
int x = 0; int *pointer_to_x = ? (*pointer_to_x) += 1; //x is now equal to 1</source> increments the variable
xby using the indirection operator and a pointer to the variable
|See more at Wikipedia.org...|
The following video provides you with the correct English pronunciation of the word "Dereference operator", to help you become a better English speaker.
© This article uses material from Wikipedia® and is licensed under the GNU Free Documentation License and under the Creative Commons Attribution-ShareAlike License
| Dereference operator in English
You think you have ethics... Take the survey NOW!