What is the purpose of the std::initializer_list class in C++?
A. To store a list of initializers
B. To initialize class objects with a list of values at runtime
C. To initialize containers with a list of values at compile time
D. To allocate memory dynamically
Answer: Option C
Join The Discussion