Multiple Choice
Which of the following statements will correctly carry out the operation stated in the comment to its right.
A) array 2 = array1 // Copy the elements of array 1 into array 2.
B) cout << array2 // Output the elements stored in array 2.
C) array2 = 5; // Place a 5 in each element of array2.
D) None of the above.
E) A and B, but not C.
Correct Answer:

Verified
Correct Answer:
Verified
Q30: Which of the following statements correctly initialize
Q31: Unlike regular variables, arrays can hold multiple<br>A)
Q32: If the scores array is defined like
Q33: Arrays can be passed to functions, but
Q34: The following two arrays string deptName[3] =
Q35: When an array is passed to a
Q36: The statement int grades[ ] = {
Q38: Subscript numbering in C++<br>A) can be set
Q39: An element of a two-dimensional array is
Q40: The amount of memory used by an