+ 2
What is the use of using reference variables?
please explain with a proper application
1 Answer
- 1
By giving a method some variables as parameters a copy of them is created in the background and you wikl work on that copy in your function. When you do a call by reference you really change the value of your variable