Consider the following code:
int** a;
const int** b;
b = a;
This code gives an error:
error C2440: '=' : cannot convert from 'int **' to 'const int **'
Conversion loses qualifiers
Why i am not able to perform the cast?
When operating simple pointers it works ok.
int* a;
const int* b;
b = a;