If I read this in a class as a data member, is the static referring to the entire expression (the array itself) or the elements of the array?
static const int* array[100];
Is the array, array, static, or does the array contain 100 static const int pointers ?
I'm assuming the former, but the way the word const changes meaning makes me wonder if static also changes meaning based on where in the expression it exists. In the above, the pointer array is not const yet the elements of the array are const, so I wonder if the pointer of the array is static.
const int* const array[100]would ensure a constant array