C++ For Artists: The Art, Philosophy, And Science Of Object-Oriented Programming
|
| < Day Day Up > |
|
-
An array is a ______________ allocation of memory to _____________ objects.
-
A static array name is what type of pointer?
-
(T/F) An array name points to the first element of the array.
-
How are multi-dimensional arrays stored in memory.
-
Multi-dimensional arrays are arrays of ______________.
-
What determines the size of an allocation unit?
-
How does a dynamically allocated array differ from a statically allocated array?
-
List at least four types of objects an array can contain.
-
Describe the two methods available to access array elements.
-
To what values will the array elements be initialized to in the following declaration:
int int_array[25];
-
To what values will each array element be initialized to in the following declaration:
int int_array[25] = {1,2,3};
-
What’s the difference between the new operator and the new[] operator?
-
Why is it important to release dynamically allocated array memory with the delete[] operator?
-
List and discuss the steps required to create a single dimensional dynamic array.
-
Discuss the two methods for creating multi-dimensional dynamic arrays. Which method would you prefer to use and why?
|
| < Day Day Up > |
|