Computer Science, asked by AdeptAdarsh, 1 year ago

what is mean by call by reference and call by value?

Answers

Answered by nkki9356
1
The call by reference method ofpassing arguments to a functioncopies the address of an argument into the formal parameter. Inside thefunction, the address is used to access the actual argument used in the call. It means the changes made to the parameter affect the passed argument.

nkki9356: I know
Answered by Anonymous
0

\huge\mathfrak{Answer}

▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃

→ In call by value any change made in the formal parameter does not reflect actual parameter

→ In call by reference any change made in the formal parameters will be reflected in the actual parameters

Similar questions