As far as I know if we want to pass array to function there are two ways. One is we need to pass array name and size as an argument and the other one is only pass array member. But in the following code of class GradeBook , I found that it pass the array differently. I am wondering about this. The codes are as follow. The codes are from headerfile.
GradeBook.h
class GradeBook
{
private :
string courseName;
int grades[students];
public:
static const int students =10 ;
GradeBook(string , const int [] )// This is the line of code that I am wondering