Which statement correctly uses C++11 to initalize a vector of ints named n with the values 10 and 20?

a. vector n(10, 20);
b. vector n = {10, 20};
c. vector n {10, 20};
d. int vector n ({10}, {20});

c. vector n {10, 20};

Computer Science & Information Technology

You might also like to view...

A ________ is two or more submacros that are similar in function and are stored under the same macro name

A) macro group B) data actions group C) submacro group D) data blocks group

Computer Science & Information Technology

Each page on a Web site should include a global navigation bar, which should be consistent from page to page so that visitors can easily navigate the site.

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

Computer Science & Information Technology