In a computer language, there are two ways that arguments can be passed to a subroutine. The first is call by value and the second one is call by reference. The call by value method copies the value of an argument into the formal parameter of the subroutine. In this case, changes made to the parameter have no effect on the argument. Which statement is a correct example of calling the call by value function?
A)
void function();
B)
function();
C)
void function(int a,int b);
D)
int function();
E)
double function(double a, double b);
Answers
Answered by
0
THE QUESTION IS OF WHICH CLASS
Similar questions