Dereference operator
Unary operator (i.e. one with a single operand) found in C-like languages that include pointer variables.
- Dereference operator29 related topics
Variable (computer science)
Abstract storage location paired with an associated symbolic name, which contains some known or unknown quantity of information referred to as a value; or in simpler terms, a variable is a container for a particular set of bits or type of data .
In imperative programming languages, values can generally be accessed or changed at any time.
Asterisk
Typographical symbol.
In some programming languages such as the C, C++, and Go programming languages, the asterisk is used to dereference or declare a pointer variable.
Syntactic sugar
Syntax within a programming language that is designed to make things easier to read or to express.
In the C language, the notation is syntactic sugar for . Likewise, the notation is syntactic sugar for accessing members using the dereference operator.
Pointer (computer programming)
Object in many programming languages that stores a memory address.
A pointer references a location in memory, and obtaining the value stored at that location is known as dereferencing the pointer.
C syntax
Set of rules governing writing of software in the C language.
In order to accomplish that task, the unary dereference operator, denoted by an asterisk (*), is used.
Sigil (computer programming)
Symbol affixed to a variable name, showing the variable's datatype or scope, usually a prefix, as in , where is the sigil.
While this may seem similar to a sigil, it is properly a unary operator for lexical indirection, similar to the dereference operator for pointers in C, as noticeable from the fact that the dollar sign is omitted when assigning to a variable.
Dead reckoning
Process of calculating current position of some moving object by using a previously determined position, or fix, and then incorporating estimates of speed, heading direction, and course over elapsed time.
This property is particularly important for performance when used in conjunction with arrays of structures because data can be directly accessed, without going through a pointer dereference.
Reference (computer science)
Value that enables a program to indirectly access a particular data, such as a variable's value or a record, in the computer's memory or in some other storage device.
The reference is said to refer to the datum, and accessing the datum is called dereferencing the reference.
At sign
Normally read aloud as "at"; it is also commonly called the at symbol, commercial at, or address sign.
In assembly language, @ is sometimes used as a dereference operator.
Value (computer science)
Representation of some entity that can be manipulated by a program.
In many languages, notably the C family, l-values have storage addresses that are programmatically accessible to the running program (e.g., via some address-of operator like "&" in C/C++), meaning that they are variables or de-referenced references to a certain memory location.