C++ Programming - Functions - Discussion

Discussion Forum : Functions - General Questions (Q.No. 7)
7.
Which of the following statement is correct?
Constructors can have default parameters.
Constructors cannot have default parameters.
Constructors cannot have more than one default parameter.
Constructors can have at most five default parameters.
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
1 comments Page 1 of 1.

Ritu Yadav said:   3 weeks ago
Constructors in C++ can have default parameters just like normal member functions, and there is no fixed limit on the number of default parameters.

Post your comments here:

Your comments will be displayed after verification.