Purchase Solution

Advantages of Dynamic Over Static Arrays

Not what you're looking for?

Ask Custom Question

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.

Purchase this Solution

Solution Summary

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

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, ...

Purchase this Solution


Free BrainMass Quizzes
C++ Operators

This quiz tests a student's knowledge about C++ operators.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

C# variables and classes

This quiz contains questions about C# classes and variables.