Q31
Which of the following statements about constructor initialization lists in C++ is correct?
A.
They cannot be used in constructors with default arguments
B.
They can only be used in copy constructors
C.
They can only be used for primitive data types
D.
They must be used for initializing all members of a class
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board