Computer Science, asked by sandeepmorya1794, 1 year ago

What are default arguments?

Answers

Answered by ckroyofficial
2

Hey

mate

ans-In computer programming, a default argument is an argument to a function that a programmer is not required to specify. In most programming languages, functions may take one or more arguments. Usually, each argument must be specified in full.

cheers

Answered by Anonymous
1
Hey !<b>

C++ allows us to assign default values to a function’s parameters which are useful in case a matching argument is not passed in the function call statement. The default values are specified at the time of  function declaration.
Similar questions