Home / MCQ Bank / Computer
Computer Plus Plus Miscellaneous

What is the purpose of the std::initializer_list class in C++?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • To initialize containers with a list of values at compile time

Related Computer Questions

Artificial neural networks may be thought of as simplified models of the networks of neurons that occur naturally in the ______ Which of the following property defines the color of any rules between columns in a multicolumn text flow? Which network is a cross between circuits switched network and a data-gram network? What will be the output of the following C code? #include <stdio.h> int *m(); void main() { int *k = m(); printf("hello "); printf("%d", k[0]); } int *m() { int a[2] = {5, 8}; return a; } Which of the following implements the module in the program?