We can combine both pointer to const and const pointer where both pointer is const and is point to a const variable. This can be done as follows:

const int value{10};
const int* const cptr{&value};

With this, both reassigning pointer to another object and changing variable value using dereferencing, will fail.

int anothervalue{100};
cptr = &anothervalue; // it will fail as cptr is const pointer
 
*cptr = anothervalue; // it will fail as cptr is pointer to const

References

  1. https://www.learncpp.com/cpp-tutorial/pointers-and-const/