CSC 2110 Chapter Notes - Chapter 12: Null Pointer, Unary Operation, Include Directive
Document Summary
The values belonging to pointer data types are the memory addresses of your computer. No name associated with the pointer data type. Said to point to the memory location. Is a variable whose content is an address, that is, a memory location. The value of a pointer variable is an address or memory space that typically contains some data. When you declare a pointer variable, you also specify the data type of the value to be stored in the memory location pointed to by the pointer. Pointers are bound to a data type and they can only contain the addresses of variables of the specific data type they were created to hold. Unary operator that returns the address of its operand. When used as a unary operator, it is referred to the dereferencing operator or indirection operator. Refers to the object to which it operand points. Syntax for accessing a class (struct) member using the -> operator: