Computer Science, asked by pratyushdhoni, 1 year ago

differentiate between Call by Value and Call by Reference

Answers

Answered by praaashaaantp8ubdp
1
There are two ways to pass arguments/parameters to function calls -- call by value and call by reference. The major difference between call by value and call by reference is that in call by value a copy of actual arguments is passed to respective formal arguments. While, in call by reference the location (address) of actual arguments is passed to formal arguments, hence any change made to formal arguments will also reflect in actual arguments.
Similar questions