expected primary-expression before ']'

hello, i'm new to c++. i'm doing my first program.

i get "expected primary-expression before ']'" error and i have no idea what's wrong =/

Code:

`void printPolyMenu(double polyArr[][MAX_DEGREE+2], int capacity)`

{

cout<<"Which polynomial do you wish to print? (0 - "<<capacity<<")"<<endl;

int line;

cin>>line;

if(line>capacity || line<0)

{

cout<<"Polynomial does not exist."<<endl;

}

else

{

printPoly(polyArr[][MAX_DEGREE+2],line); //here comes the error..

}

menuManager(polyArr,capacity);

}

//(printPoly is working fine.. just this line is doing trouble.)

could someone help? thanks~