What does the following statement do?

vector v(10, 2);

a. It creates a vector object and initializes the first two elements with the values 10 and 2.
b. It creates a vector object with a starting size of 2 and initializes the first element with the value 10.
c. It creates a vector object with a starting size of 10 and initializes the first element with the value 2.
d. It creates a vector object with a starting size of 10 and initializes all the elements with the value 2.


d. It creates a vector object with a starting size of 10 and initializes all the elements with the value 2.

Computer Science & Information Technology

You might also like to view...

What are some ways EFS keys may be lost?

What will be an ideal response?

Computer Science & Information Technology

A business manager must think like a ________ when designing a database

Fill in the blank(s) with correct word

Computer Science & Information Technology

You can apply WordArt text fill to text that appears in more than one location on a slide by making the first selection and then pressing and holding the ____ key as you select other text.

A. SHIFT B. COMMAND C. ALT D. TAB

Computer Science & Information Technology

Calculations that are performed on a group of records are called ________ functions

Fill in the blank(s) with correct word

Computer Science & Information Technology