What is an array | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is an array

what is the purpous or uses of multi arrays and how do u defin them

4th Jan 2018, 3:55 PM
Lord Awesome
Lord Awesome - avatar
1 Answer
+ 10
An array is a collection of multiple elements of the same type. Imagine you had to store the scores of 100 students in your code, rather than declare 100 variables for each score you could just declare an array of size 100 and store all the scores in there
4th Jan 2018, 4:07 PM
David Akhihiero
David Akhihiero - avatar