Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
watergatorman
· 7y ago · 0 comments
"... 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.
Comments
[–]
jalospinoso
7y ago
Thank you for the correction!