Question: Match each of the function prototypes with the best description. int sum(int n1, int n2); int sum(int n1, int n2, int n3); int sum(int n1,

Match each of the function prototypes with the best description.

int sum(int n1, int n2); int sum(int n1, int n2, int n3);

int sum(int n1, int n2, int n3 = 0);

int sum(int& total, int n1, int n2);

int sum(int n1, int n2);

int genRand();

choices:

function overloading

default arguments

parameterless function

pass by reference

pass by value

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!