Consider the following code snippet.
int** ptr; // memory pointed by ptr is initialized to its content.
const int** ptrConst;
ptrConst = ptr // Now I want to convert it type of const int**
It gives compilation error conversion loses qualifier.
Please suggest an alternative to achieve it.