Get premium membership and access questions with answers, video lessons as well as revision papers.

When is it appropriate to use default argument? When is it probably a bad idea

      

When is it appropriate to use default argument? When is it probably a bad idea

  

Answers


Davis
It is appropriate to use default argument when there are on or more values that will occur frequently.It is inappropriate when there is no value or values that have a greater likelihood of occurring .
Githiari answered the question on November 17, 2017 at 05:46


Next: A programmer while writing in C++ language realized a mistake with the code below as the major cause of the program’s failure.Point out the mistake. Void...
Previous: How do friend operator function differ from member operator functions

View More Computer Studies Questions and Answers | Return to Questions Index


Learn High School English on YouTube

Related Questions