+ 2

What is the use of using reference variables?

please explain with a proper application

25th Dec 2016, 3:38 PM
Eddy Carter
Eddy Carter - avatar
1 Odpowiedź
- 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
25th Dec 2016, 5:45 PM
Andreas K
Andreas K - avatar