Using a single name, arrays represent multiple data items of the same kind. As well as by using the index number, elements can be accessed at random. Arrays assign all of their components to memory in contiguous memory locations.
In our real life, you use arrays all of the time. You'll need an array if you need to keep track of an organized list of items: a list of songs, a list of every keystroke a user clicks. You will also use an array, also in the JSON data format, to carry a list of objects.
What are the other examples of the usage of arrays in real life? Please share your thoughts in the comment box.
In our real life, you use arrays all of the time. You'll need an array if you need to keep track of an organized list of items: a list of songs, a list of every keystroke a user clicks. You will also use an array, also in the JSON data format, to carry a list of objects.
What are the other examples of the usage of arrays in real life? Please share your thoughts in the comment box.