Explore BrainMass
Share

Explore BrainMass

    Advantages of Dynamic Over Static Arrays

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    Please help me with these questions.

    Discuss the advantages of dynamic over static arrays. Under what conditions will you choose dynamic arrays? Can a static array be converted into a dynamic array? Give reasons for you answer.

    © BrainMass Inc. brainmass.com October 10, 2019, 5:18 am ad1c9bdddf
    https://brainmass.com/computer-science/arrays/advantages-dynamic-static-arrays-500448

    Solution Preview

    An array is a series of variables that are stored together and referenced as one variable. A dynamic array is an array that can be lengthened or shortened to accommodate the number of elements in an array. Advantages of a dynamic array include the ability to be resized and they are faster than static arrays. Also, ...

    Solution Summary

    This solution compares and contrasts dynamic and static arrays used in computer programming.

    $2.19