Yes. post #11Quote:
what I mean is to call different 2d array with different size to the same function but not same time
Code:template<size_t N, size_t M>
void random_letter(char (&array)[N][M])
{
cout << N << endl << M << endl;
}
int main()
{
char arr1[5][7];
random_letter(arr1);
char arr2[8][9];
random_letter(arr2);
return 0;
}