Context
No code in this post. The goal is only to define how we can implement arrays.In order to ease array manipulations, it's recommended to define some hypothesis.
- An array contains values
- It is delimited by zero values at the beginning and at the end
- Therefore, an array cannot contain '0' value.
- But an array can be empty
- Memory: 0, Array, 0
Then, all codes manipulating arrays in the coming posts will use this data structure, until a future one where a more complex structure will also allows null values.
Aucun commentaire:
Enregistrer un commentaire