2d array as parameter

What’s the reason behind passing 2d array without no of rows and only giving no of cols when the array is passed in function arguments…
As for eg. void func( int a [][100], int m,int n){

}

hello @sam8creane

c++ follows row major .beucase of that mentioning column size is necessary.