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
English,
6 months ago
Math,
6 months ago
English,
6 months ago
Computer Science,
1 year ago
Social Sciences,
1 year ago
Math,
1 year ago
English,
1 year ago