What is the point of arrays? When are they used when programming for a website? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the point of arrays? When are they used when programming for a website?

10th Mar 2016, 10:13 PM
krisd1
4 Answers
+ 2
Arrays are a building block of other more complex structures. They are useful for storing a list of any kind. Let's say that you have a website that asks people questions, you can store these questions in an array. You can also store responses in an array. In its most basic form it is a list.
12th Apr 2016, 11:48 PM
Antonio Borges
Antonio Borges - avatar
+ 1
array is a bunch of valuebles of the same type, for example you can create an array of letters called alphabet
8th Apr 2016, 11:08 AM
Никитка Борщик
Никитка Борщик - avatar
0
i think its not for websites its like matrix. 2 dimensional array is the matrix self. did you lern about matrices at school?
19th Mar 2016, 5:34 PM
Gevorg Abgaryan
Gevorg Abgaryan - avatar
0
you know that you can't use c++ for writing websites, right?
10th Jul 2016, 7:27 PM
Борис Кот
Борис Кот - avatar