University of Michigan EECS 281 Const Keyword (Read Inside-Out): Const pointer: const int *ptr = &x; Pointer-to-const: int * const ptr = &x; double perimeter const {}, where const means the function will not modify any member variables Arrays: arr[i] is equivalent to *(arr + i) Traversal by pointer: for ...[Show More]
Category: | |
Number of pages: | 3 |
Language: | English |
Last updated: | 6 months ago |
Downloads: | 1 |
Views: | 0 |