- Exercise
In this exercise, we will initialize containers using an initializer list.
We'll cover the following
Exercise 1
Initialize the following containers:
std::array
std::vector
std::set
std::unordered_multiset
with the {-10, 5, 1, 4, 5} initializer list.
Get hands-on with 1400+ tech skills courses.