A) an array and a function
B) several identical arrays
C) two functions
D) two arrays of different types
E) None of these
Correct Answer
verified
Multiple Choice
A) constants
B) named constants
C) arrays
D) floating-point variables
E) None of these
Correct Answer
verified
Multiple Choice
A) initialization list
B) array name
C) subscript
D) element
E) None of these
Correct Answer
verified
Multiple Choice
A) the array name, the column number of element
B) the row subscript of the element, the column subscript of the element
C) a comma, a semicolon
D) the row subscript of element, the array name
E) None of these
Correct Answer
verified
Multiple Choice
A) rows, columns
B) arguments, parameters
C) increments, decrements
D) All of these
E) None of these
Correct Answer
verified
Multiple Choice
A) legal in C++
B) illegal in C++
C) automatically furnished one element, with a value of zero
D) automatically furnished one value-the null terminator
E) None of these
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) vector v<int>;
B) int vector v;
C) int<vector> v;
D) vector<int> v;
Correct Answer
verified
Multiple Choice
A) data type
B) subscript
C) name
D) value
E) None of these
Correct Answer
verified
Multiple Choice
A) size
B) num_elements
C) elements
D) length
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) illegal in C++
B) legal in C++
C) not recommended by the ANSI committee
D) not good programming practice
E) None of these
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) 1000
B) 999
C) 1001
D) Cannot tell from the code
Correct Answer
verified
Multiple Choice
A) the same data type
B) each of a different data type
C) constants
D) integers
E) None of these
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) array name
B) number of elements
C) value of the first element
D) null terminator
E) None of these
Correct Answer
verified
Multiple Choice
A) remove_item
B) delete_item
C) erase
D) pop_back
Correct Answer
verified
Multiple Choice
A)
B)
C)
D) Nothing. This code has an error.
Correct Answer
verified
Multiple Choice
A) the assignment operator with the array names
B) the equality operator with the array names
C) a loop to assign the elements of one array to the other array
D) Any of these
E) None of these
Correct Answer
verified
Showing 1 - 20 of 58
Related Exams