I'm trying to sum the elements in a 2D array but I keep getting errors. and I can't figure out what it is. Help would be appreciated, Thanks.

Code:

#include <stdio.h>
#define MAXROW 10
#define MAXCOL 10
int matrix[MAXROW][MAXCOL]={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20},row,col;
int addition(int matrix[MAXROW][MAXCOL],int i,int j);
int main(void)
{
addition(matrix[MAXROW][MAXCOL],row,col);
return 0
}
int addition(int matrix[MAXROW][MAXCOL],int i,int j)
{
for (i=0;i<MAXROW;++i)
for (j=0;J<MAXCOL;++j);
sum+=matrix[i][j];
printf("\nsum=%d",sum);
return 0
}