Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
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