University of Michigan EECS 280 Pointers -Declaration: type *name = &thing; -Pointers store the address of the thing they point to -Dereference: use *. Example: *name outputs the value of the thing pointer points to. -To clarify * and & -* means it’s a pointer -& means it’s a reference -* means get object at address ...[Show More]
Category: | |
Number of pages: | 2 |
Language: | English |
Last updated: | 8 months ago |
Downloads: | 2 |
Views: | 0 |