When do we need to use default arguments in a function?
Answers
Answered by
2
Default Arguments in C++ Functions. The default arguments are used when you provide no arguments or only few arguments while calling a function. The default arguments are used during compilation of program.
Similar questions
Social Sciences,
5 months ago
Science,
5 months ago
Computer Science,
10 months ago
Social Sciences,
10 months ago
Math,
1 year ago
English,
1 year ago