DEV Community

Discussion on: The Many Masks of `const`

Collapse
 
0xax profile image
0xAX

Reading variable declarations backwards will greatly help in remembering these nuances

This is the best advice which I've ever seen to remember these ambiguities in definition of const pointers

Collapse
 
somedood profile image
Basti Ortiz

Thanks, man! All the credit goes to the guy who wrote that amazing StackOverflow answer.