How can pass reference of a variable to function
Answers
Answered by
1
The call by reference method of passing arguments to a function copies the address of an argument into the formal parameter. Inside the function, 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.
Hope it helps you
Similar questions