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

d. none of the above

Computer Science & Information Technology

You might also like to view...

When you begin creating a new PowerPoint presentation, you need to select a ____.

A. variant B. theme C. document D. slide

Computer Science & Information Technology

The word shown in bold is spelled correctly in the following sentence.Isabella likes her pizza with plenty of tomatos.?

Answer the following statement true (T) or false (F)

Computer Science & Information Technology