0

Please simplify Array for me.

Not frist chapter!

27th Dec 2016, 5:16 AM
Granth Pandya
Granth Pandya - avatar
2 Answers
+ 4
If you learn 'sets' in math, arrays are like sets. Arrays can be considered as a list, the list contains elements. int arr[] = { 1 , 2 ,3}; This code above means that I will create an array that stores int variables and store the element '1' , '2' and '3'.
27th Dec 2016, 6:32 AM
Wen Qin
Wen Qin - avatar
0
Its a row of boxes where the first box has number 0 and the second has number 1 etc. written on it. you can put any content in that boxes you want.
27th Dec 2016, 5:49 AM
Andreas K
Andreas K - avatar