Computer Science, asked by akshat127, 1 year ago

Difference between call by value and call by reference.

Answers

Answered by Anonymous
3
*The call by reference method of passing arguments to a function copies the address of an argument into the formal parameter.
* To pass a value by reference, argument pointers are passed to the functions just like any other value.

Mark brainliest please. . please. . please.
Answered by Vintage
4
Call by value is when we pass the actual parameters to the called function but any changes in formal parameter does not bring any change in actual parameter....
Call by reference is when we pass the reference value of that parameter such as for string..... In this case any changes in the formal parameter will be reflected or seen in thw actual parameter....
Similar questions