multi dimensional array syntax in the array lesson
Answers
Answered by
0
Answer:
A multi-dimensional array is an array with more than one level or dimension. for example, a 2d array, or two-dimensional array, is an array of arrays, meaning it is a matrix of rows and columns (think of a table). a 3d array adds another dimension, turning it into an array of arrays of arrays.
Answered by
0
Answer:
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
Similar questions