You have three errors: int hitemp (int temp[int][int]); //function diclaration
you need to specify the size of the array int hitemp (int temp[3][4])
(see Arrays as parametershttp://www.cplusplus.com/doc/tutorial/arrays/ )
1 2 3 4
int hitemp (int temp[rows][columns])
{
//...
}
Same as in the declaration
cout<<"heigest temperature is"<<hitemp(int temp[rows][columns]);
You want to pass seasontemp so it should be hitemp(seasontemp)