c++ const reference and const pointer code example
Example: const pointer c++
int *p; // pointer to int
const int *p == int const *p; // pointer to const int
int * const p; // const pointer to int
const int * const p == int const * const p; // const pointer to const int