How are the indexes in an higher dimensional array called? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How are the indexes in an higher dimensional array called?

28th Mar 2017, 6:48 PM
Hermann Set
Hermann Set - avatar
2 Answers
+ 12
Do you want to know how the elements in multidimensional arrays can be accessed?
28th Mar 2017, 7:28 PM
Tashi N
Tashi N - avatar
+ 2
try to visualize a cube as a tridimensional array containing the values of width, height and depth: cube[column][row][depth]; will be an element of the array placed in the cube according to its coordinates (indexes column, row and depth).
28th Mar 2017, 8:34 PM
seamiki
seamiki - avatar