Ask Question

What is meant by a dynamic array? What is the advantage of a dynamic array over a regular array?

+4
Answers (1)
  1. 10 February, 10:22
    0
    Answer & Explanation:

    A dynamic array is an array that grow (item can be added) and shrink (item can be removed) as required and it does not have limit to it structural size except for the size of it main memory.

    one obvious advantage of a dynamic array over a regular array is that, in situations where the size of the data structure is not known during creation, a dynamic array will come in handy over a regular one.

    Another advantage I can think of, is the efficiency in terms of memory usage i. e. almost no memory overhead.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “What is meant by a dynamic array? What is the advantage of a dynamic array over a regular array? ...” 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