0

Are there really any difference (beside the index of element), between i.e x[2][3][4] or x[2][4][3] or x[2][12] or x[24] ?

25th Apr 2017, 4:38 PM
Yadi Indrawan
Yadi Indrawan - avatar
2 Respuestas
+ 3
Yes x[2][3][4] is different from x[24], in x[2][3][4] x is multidimensional array, and in other case x is single dimensional array.
25th Apr 2017, 4:41 PM
Vishal Prajapati
0
@Vishal Prajapati Yes, I understand that. But wether its single or multidimension, array is just collection of variables right? So what really the difference between single and multidimension array that hold the same amount of variables (in my examples 24 variables)? I mean beside the indexing ofcourse.
26th Apr 2017, 12:29 AM
Yadi Indrawan
Yadi Indrawan - avatar