i need to know the correct structure for passing a 2d array

i need this for a class i have and i'm not sure how to do it.

the code i have is:

void getinfo(string, double[4][3], int[4]);


void main(void)
{
double test_scores[4][3];
int credit_hours[4];
//char lettergrade[4];
string student_name;

//do
{
getinfo(student_name, test_scores, credit_hours);
}
//while (chioce != 'Q');
}

void getinfo(string /*out*/ & name, double /*out*/ scores[][3], int /*out*/ hours[])
{
int i;

cout << "Enter the student's name: ";
getline(cin, name);
cin.ignore();

for(i = 1; i <= 4; i++)
{
cout << "Please enter the number of credis for this class: ";
cin >> hours[i];
cout << hours[i];
}
}

this is only the beginning of the code and the rest will be easy, but i'm getting different errors relating to the passing of the 2d array test_scores (scores is the parameter in getinfo)

please help me!! thanx in advance