...

/

Pointer Value and the Address-of Operator &

Pointer Value and the Address-of Operator &

You will be familiarized with the pointer syntax in D in this lesson.

We'll cover the following...

Values of pointers

Being variables themselves, pointers also have values. The default value of a pointer is the special value null, which means that the pointer is not pointing at any variable yet (i.e., does not provide access to any variable).

To make a pointer provide access to a variable, the value of the pointer must be set to the ...