How to calculate the number of elements in a multi dimensional array in c programming language
Answers
Answered by
6
Explanation:
Data in multidimensional arrays are stored in tabular form (in row major order). Total number of elements that can be stored in a multidimensional array can be calculated by multiplying the size of all the dimensions. For example: The array int x[10][20] can store total (10*20) = 200 elements.
Answered by
3
Answer:
data is the number of elements
Similar questions