I know I can get the no. of elements in a 1D array by going (rough demo below)
and you can do a variation on the above for 2D arrays.Please Login or Register to view this content.
Isn't there another more efficient way to count the total no. of elements in a 1D or 2D array?
Bookmarks