Update 05_day_arrays.md

pull/896/head
KEVIN KHOZA 1 year ago committed by GitHub
parent 55d8e3dbc0
commit 52f28ea9ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -52,9 +52,9 @@
## Arrays
In contrast to variables, an array can store _multiple values_. Each value in an array has an _index_, and each index has _a reference in a memory address_. Each value can be accessed by using their _indexes_. The index of an array starts from _zero_, and the index of the last element is less by one from the length of the array.
An array is a data structure that can store _multiple values_. Each value in the array has an _index_, and each index has _a reference in the memory address_. Each value, in the array, can be accessed by using its _index_. The index of an array starts from _zero_, and the index of the last element is less by one from the length of the array.
An array is a collection of different data types which are ordered and changeable(modifiable). An array allows storing duplicate elements and different data types. An array can be empty, or it may have different data type values.
An array is a collection of different data types which are ordered and changeable(modifiable). An array allows the of storing duplicate elements and different data types. An array can be empty, or it may have different data type values.
### How to create an empty array

Loading…
Cancel
Save