3 ms·
"... const int* x_ptr_3 = &x; // (3) ... Finally, we see the preferred approach, which is taking a const pointer (3)" Not a const pointer, but a pointer to con
by watergatorman 7y ago
"...
const int* x_ptr_3 = &x; // (3)
...
Finally, we see the preferred approach, which is taking a const pointer (3)"
Not a const pointer, but a pointer to const int.
- jalospinoso 7y agoThank you for the correction!