Multiple Choice
What does the following statement do?
A) It creates a vector object and initializes all the first two elements with the values 10 and 2.
B) It creates a vector object with a starting size of 2 and the first element initialized with the value 10.
C) It creates a vector object with a starting size of 10 and the first element initialized with the value 2.
D) It creates a vector object with a starting size of 10 and all elements are initialized with the value 2.
Correct Answer:

Verified
Correct Answer:
Verified
Q17: Assume array1 and array2 are the names
Q17: Each individual element of an array can
Q18: A two-dimensional array is like _ put
Q20: What will the following code display?<br><img src="https://d2lvgg3v3hfg70.cloudfront.net/TB2965/.jpg"
Q22: What will the following code display?<br><img src="https://d2lvgg3v3hfg70.cloudfront.net/TB2965/.jpg"
Q24: By using the same _ you can
Q25: What is the last legal subscript that
Q26: A(n) _ can be used to specify
Q35: When you pass an array as an
Q50: This vector function removes an item from