Q27
What is the primary purpose of the explicit keyword in a C++ constructor?
A.
To mark the constructor as static
B.
To specify the return type of the constructor
C.
To allow implicit type conversions
D.
To prevent implicit type conversions
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board