Which of the following statement is correct in C++?

Questions and AnswersCategory: ProgrammingWhich of the following statement is correct in C++?
Kovair Software Staff asked 2 years ago

A. Overloaded functions can have at most one default argument.
B. An overloaded function cannot have a default argument.
C. All arguments of an overloaded function can be the default.
D. A function if overloaded more than once cannot have a default argument.

Your Answer

15 + 13 =