Ask Question
27 February, 07:42

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

+3
Answers (1)
  1. 27 February, 07:56
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers