Vidyalelo
C++ Programming · Q33

Constructors and Destructors in C++

Programming · C++ Programming · question 33

Q33

What is the purpose of using default arguments in C++ constructors?

A.
To allow the constructor to be called without arguments
B.
To provide a default value for constructor arguments
Answer
C.
To specify the order of constructor execution
D.
To prevent the use of constructor arguments

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board