Which of the following are vector member functions studied in this chapter?

a. push_back(baseTypeObject) puts object on the back of the vector
b. indexing, like an array, with index values 0 to size( ) -1
c. a constructor that takes an int argument and constructs a vector of that many base type default constructed elements.
d. size( ) tells how many base type objects have been inserted
e. reserve(newReserve) to tell a vector to change the capacity.


All are members of the vector.

Computer Science & Information Technology

You might also like to view...

Define refractive index.

What will be an ideal response?

Computer Science & Information Technology

Media are items of fact collected by an organization and include raw numbers, facts, and words.

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

Computer Science & Information Technology

Access controls are built on three key principles.  List and briefly define them.

What will be an ideal response?

Computer Science & Information Technology

Which of the following uses port 22 by default?

a) TELNET b) SSH c) FTP d) DNS

Computer Science & Information Technology