Solved

Which of the Following Initializes a Vector<int> with a List

Question 5

Multiple Choice

Which of the following initializes a vector<int> with a list initializer:


A) vector integers{1, 2, 3, 4, 5, 6};
B) vector<int> integers{1, 2, 3, 4, 5, 6};
C) vector<int> integers(1, 2, 3, 4, 5, 6) ;
D) None of the above.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions