I wonder what this problem is :error C2664: 'mine' : cannot convert parameter 1 from 'int [100][100]' to 'int'

1> There is no context in which this conversion is possible

Here is my full program.

```
#include <stdio.h>
int mine(int ,int,int);
int main()
{
int m,n;
int i,j;
int u,v;
int input[100][100];
int output[100][100];
printf ("Input M,N: %d %d",m,n);
for(i=0;i<m;i++)
for(j=0;j<n;j++)
{
printf("State of the [%d][%d] cell is: %d",i,j,input[i][j]);
}
for (u=0;u<m;u++)
{
for(v=0;v<n;v++)
{
output[u][v]=mine(input,u,v);
printf("%d ",output[u][v]);
}
printf("\n");
}
return 0;
}
int mine(int input[3][4],int r,int c)
{
int ans,i,j;
for(i=r-1;i<=r+1;i++)
{
for(j=c-1;j<=c+1;j++)
{
ans+=input[i][j];
}
}
ans-=input[r][c];
return ans;
}
```