What is call by value in c++.? tell me how to apply it in simple language
Answers (1)
When an argument is passed to a function through Call by Value then the function copies the actual value of the argument into the formal parameter of the function.
So that the changes made to the parameter have no effect on the argument.