CSC 2110 Chapter Notes - Chapter 12: Null Pointer, Unary Operation, Include Directive

74 views3 pages

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:

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents