____________ 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
The value of the name of the array is the address in the computer’s...
Which is the array name?int int1[ int2 ];
Static int array1[ arraySize];Will initialize each element to 0 the...
A subscript/index must be an integer or integer expression (using any...
If the array size is omitted from a declaration with an initializer...
A multidimensional array is declared as such:
...
Int n[11];What is the last index number (or subscript) of this array?
Pass by reference means that the calling function can read and write...
An array is a ....
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...
C++ passes arrays to functions by reference—the called functions can...
The name of the array is the address in the computers memory of the...
In the statement:int a [ arraySize ] = { 87, 64, 52, 4, 45, 63, 55,...
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};
Arrays are always _______ structures because they remain the same size...
A multidimensional array cannot be initialized in its...
Applying 'static' to an array declaration will allow the array not to...
Providing more initializers in an array initializer list than there...
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
The first element in every array has subscript ______ and is sometimes...
Not assigning a value to a constant variable when it is declared....
Only constants can be used to declare the size of automatic and status...
Character arrays can also represent ________ (hint: types)
An array is a _____________ group of memory locations that all have...
In order to declare an array of a certain size, you must indicate...
It is good practice to declare more than one array per declaration to...
Int n[11];How many possible elements can be stored in this array?
Const int rows = 2;const int columns = 3;int array1[ rows ][ columns ]...
At ___________ , the compiler reserves the appropriate amount of...
This is a static arrayint n[];
Arrays with multiple dimensions are known as ______ by _________...
What is wrong with this code?int SIZE = 7;int array[ SIZE ];
If the array size is omitted from a declaration with an initializer...
The linear search compares each element of an array with a __________
Vectors are declared as such:
Const int x;x = 7;Will this compile?
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 );
...
Void function1( array[] );This function will operate correctly,...
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: