#includeThis code example uses std::initializer_list to define a function that accepts a list of integers and prints them. In the main function, the function is called twice with different sets of integers passed in as initializer lists. The std::initializer_list is a part of the Standard Library in C++, which means it is included in the core language and does not require any additional packages or libraries.#include void print(std::initializer_list lst) { for (const auto& val : lst) { std::cout << val << " "; } std::cout << std::endl; } int main() { print({1, 2, 3}); // prints "1 2 3" print({4, 5, 6, 7}); // prints "4 5 6 7" return 0; }