What is the difference between const int*, const int * const, and int const *?
Read it backwards (as driven by Clockwise/Spiral Rule): int* – pointer to int int const * – pointer to const int int * const – const pointer to int int const * const – const pointer to const int Now the first const can be on either side of the type so: const int * == int const * const int * const == int const … Read more