Multiple Choice
If the capacity of a vector named names is 20 and the size of names is 19, which of the following statements are legal?
A) names.push_back"myName") ;
B) names[18]="myNmae";
C) all of the above
D) none of the above
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q21: The function used to 'put two c-strings
Q22: The following code declares a vector of
Q23: What is the value of numbers.size) after
Q24: What is wrong with the following code
Q25: What is the difference between strcat and
Q27: Given the following declarations, which of the
Q28: Which assignment statements will copy the value
Q29: Which is the proper way to determine
Q30: How can you assign the value "toaster"
Q31: strcmpfirst, second) returns<br>A) <0 if first <