State a difference between call by value and call by reference.
Answers
Answered by
14
Answer:
Call by value method copies the value of an argument into the formal parameter of that function. Call by reference method copies the address of an argument into the formal parameter. In call by value method, a copy of the variable is passed whereas, In call by reference method, a variable itself is passed
Similar questions