The vector class has a ________ member function which can be used to request an increase in the vector's capacity and a __________ member function to decrease a vector's capacity.

a. size(), max_size()
b. capacity(), reserve()
c. max_size(), shrink()
d. reserve(), shrink_to_fit()
e. None of these


d. reserve(), shrink_to_fit()

Computer Science & Information Technology

You might also like to view...

In the accompanying figure, which line of code does not add a page break after the last box?

A. 2 B. 3 C. 1 D. 4

Computer Science & Information Technology

When sizing handles display around an image, all of the following procedures can be performed on the image EXCEPT ________

A) deleting B) formatting C) resizing D) cropping

Computer Science & Information Technology

Phil decides to sell his personal computer to buy a new laptop, so he deletes all the data on his hard drive. To ensure that the data on his hard drive cannot be recovered using any special software, he _____ the hard drive-overwrites the hard drive several times using a disk erasing software-before the selling the system.

A. ?wipes B. ?encrypts C. ?backs up D. ?synchronizes

Computer Science & Information Technology

In Word, the term, ____________________, refers to returning the formatting to the Normal style.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology