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

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...

      

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 f(int a);
Void f(int a);

  

Answers


Davis
A function cannot be overloaded when the only difference is that one version takes a value parameter and the other takes a reference parameter.
Githiari answered the question on November 17, 2017 at 05:45


Next: Describe the mistake with the following C++ computer code declaration? Int f(int a=0, double balance);
Previous: When is it appropriate to use default argument? When is it probably a bad idea

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


Learn High School English on YouTube

Related Questions