I'm working with 2D arrays and in a part of a program I need to know the dimensions of a 2D array. By using the sizeof operator i can get the number of cells in the array, but this is not enough. I wonder if there is a function or operator that returns the size of a 2D array, i.e., number of columns and rows.
Thanks for yor time
0 · ·