Hi, Please can you help me with passing multidimensional arrays to functions. My code is as below but it has some errors.

#include<iostream>
using namespace std;

void MidRC (int SizeN, int N[][SizeN]);

int main(){

int m;
cout<<"Please enter how many rows/columns the  square array has?"<<endl;
cout<<"The input must be odd number?"<<endl;
cin>>m;


cout<<"Please enter the matrix elemnts"<<endl;
int A[m][m];
for (int i=0;i<m;i++){
    for (int j=0; j<m; j++){
            cin>>A[j];
    }
}

MidRC(m, A);

}

void MidRC (int SizeN, int N[SizeN][SizeN]){
    int t=SizeN/2;

    int MidR=t+1;
    cout<<  "The Mid row is:"<< endl;
    for (int w=0; w<SizeN; w++)
        {cin>>N[MidR][w]<<" ";

}
cout<< endl;
}