Why we need multidimensional arrays ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why we need multidimensional arrays ?

17th Jun 2017, 5:35 PM
CoderAss
CoderAss - avatar
3 Answers
+ 2
There are so many diverse uses for them. You can use them to represent a graph, to store graphical data about image, where each array element represents a pixel and stores data about its colour, to store any number of associated values... the opportunities are endless .
17th Jun 2017, 5:48 PM
David Daubner
David Daubner - avatar
+ 1
good usage is to create multiarray for language localization of program. Swich to another language is easy only by changing index of one dimension.
17th Jun 2017, 8:59 PM
Highman
Highman - avatar
0
i love yo name 😂
18th Jun 2017, 4:23 AM
CoderAss
CoderAss - avatar