Solved

If the Capacity of a Vector Named Names Is 20

Question 26

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions