I'm learning C++ from "C++ for Programmers" book. In "templates" section, there is a code like that:
template<typename T>
void printArray(const T * const array, int size)
{
for (int i = 0; i < size; i++)
{
cout << array[i] << " ";
}
cout << endl;
}
My question is, the constants of first parameter in function. I have never seen two constants in one parameter. I tried to realize but I could not. Thanks for helps.