cplusplus:pointers_2_slides
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
cplusplus:pointers_2_slides [2021/10/19 19:43] – [Constant pointers] mithat | cplusplus:pointers_2_slides [2021/10/19 19:46] (current) – [Constant pointer to constant data] mithat | ||
---|---|---|---|
Line 140: | Line 140: | ||
* A **pointer to constant data** cannot change the value of what it's pointing to. | * A **pointer to constant data** cannot change the value of what it's pointing to. | ||
* Can point to different things. | * Can point to different things. | ||
- | * Use the '' | + | * '' |
<code cpp> | <code cpp> | ||
Line 152: | Line 152: | ||
===== Constant pointer to constant data ===== | ===== Constant pointer to constant data ===== | ||
- | * **Constant pointer to constant data** cannot change either "what it is pointing to" | + | * **Constant pointer to constant data** cannot change either "what it is pointing to" |
<code cpp> | <code cpp> |
cplusplus/pointers_2_slides.1634672637.txt.gz · Last modified: 2021/10/19 19:43 by mithat