What does the following statement do?

vector v(10);

a. It creates a vector object and initializes all its elements to the value 10.
b. It creates a vector object with a starting size of 10.
c. It creates a vector object and initializes the first element with the value 10.
d. It creates a vector object that can only store values of 10 or less.

b. It creates a vector object with a starting size of 10.

Computer Science & Information Technology

You might also like to view...

A Background in a Worksheet looks like a ________

A) graphic instead of the data on the worksheet B) graphic display on top of the data C) graphic inserted in the top left corner D) webpage with a graphic behind the data

Computer Science & Information Technology

How is authorization in vCenter Server handled?

What will be an ideal response?

Computer Science & Information Technology