0
What is the array means?
4 odpowiedzi
+ 3
array simply is a collection of data, one variable that stores multiple data, and you can access each data by its index
+ 2
you can determine array variable by creating an empty array
arr = [ ]
0
array is the collection of the similar data items. data items may be anything like integer float etc.
0
an Array is like a group so like
Cars = ["Honda", "Toyota", "Cadillac", "Lincoln"]
each object in an array is known as an Element
and im pretty sure in every language an array start from 0 when counting elements inside of an array
sort of like
Elements = ["Element 0", "Element 1", "Element 2", "Element 3"]
thats how you would count and select elements in an array