Ask Question

Explain how arrays allow you to easily work with multiple values?

+2
Answers (1)
  1. 28 June, 10:58
    0
    Array is data structure which stores item of similar data type in contiguous form. Arrays used indexing to access these items and the indexing is form 0 to size - 1.

    Array is used to store multiple values or items in them. It is easier to access these items in array as we can do it in O (1) time if we know the index where it is not possible in the other data structures like linked list, stacks, queues etc.

    Accessing element:-

    array[index];

    This statement will return the value of the item that is stored at the index.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Explain how arrays allow you to easily work with multiple values? ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers