____________ are data structures consisting of related data items of...
To refer to a particular location or element in the array, we specify...
The position number is more formally called a subscript or index (this...
Which of the following is an array declaration with initalizers
Which is the array name?int int1[ int2 ];
The value of the name of the array is the address in the computer’s...
A subscript/index must be an integer or integer expression (using any...
If the array size is omitted from a declaration with an initializer...
Static int array1[ arraySize];Will initialize each element to 0 the...
A multidimensional array is declared as such:
...
Int n[11];What is the last index number (or subscript) of this array?
C++ passes arrays to functions by reference—the called functions can...
Pass by reference means that the calling function can read and write...
An array is a ....
In the statement:int a [ arraySize ] = { 87, 64, 52, 4, 45, 63, 55,...
If a static array is not initialized explicitly by you, each element...
When passing an array to a function, the array size is normally passed...
The name of the array is the address in the computers memory of the...
Although entire arrays are passed by reference, individual array...
A multidimensional array is declared as such:int array[ [] ];
What is the most dominant method for accessing and printing an entire...
This statement will not compileint array[] = {1, 2, 3, 4};
A multidimensional array cannot be initialized in its...
Arrays are always _______ structures because they remain the same size...
Applying 'static' to an array declaration will allow the array not to...
Passing arrays by value would mean that each element would be copied...
Arrays with two dimensions (i.e., subscripts) often represent tables...
[ ] and ( ) have the highest precedence
Providing more initializers in an array initializer list than there...
Not assigning a value to a constant variable when it is declared....
The first element in every array has subscript ______ and is sometimes...
Only constants can be used to declare the size of automatic and status...
An array is a _____________ group of memory locations that all have...
In order to declare an array of a certain size, you must indicate...
Int n[11];How many possible elements can be stored in this array?
Character arrays can also represent ________ (hint: types)
At ___________ , the compiler reserves the appropriate amount of...
It is good practice to declare more than one array per declaration to...
Const int rows = 2;const int columns = 3;int array1[ rows ][ columns ]...
This is a static arrayint n[];
If the array size is omitted from a declaration with an initializer...
What is wrong with this code?int SIZE = 7;int array[ SIZE ];
Arrays with multiple dimensions are known as ______ by _________...
Vectors are declared as such:
Const int x;x = 7;Will this compile?
The linear search compares each element of an array with a __________
C++ passes arrays to functions by value—the called functions can...
Pass by value means that the calling function can read and write to...
If a static array is not initialized explicitly by you, the program...
Void function1( array[] );This function will operate correctly,...
Void function1( array );
...
A program initializes static local arrays when their declarations are...
Brackets ' [ ' have a higher precedence than ' ( '
Defining the size of each array as a constant variable instead of a...
_________ sort is a simple, but inefficient, sorting algorithm.
Arrays with 2 dimensions are called ___________
Bubble SortThe first iteration of this algorithm takes the second...
To pass an element of an array to a function, use the array name as an...
Select all that apply. Vectors are more powerful than arrays because: