Good day! A huge request to throw a link on the topic or immediately code. In general, I can’t figure out how to work with several two-dimensional arrays of type char using one function.
Example: there are 2 arrays
char a1[13][29]; char a2[13][14];
there is a function to which you need to pass one of them .
func(char a[][]);
The problem is that if the argument in the function is written like this, func(char a[][29]
); I can only use it for the a1 array, but not for a2 .
How do I need to pass an array to a function so that it doesn't matter what dimension it will be?