I would like to know if there is any difference in the usage of const
between variable and pointer, like in the following:
const int var;
const int *ptr;
I would like to know if there is any difference in the usage of const
between variable and pointer, like in the following:
const int var;
const int *ptr;