What Is difference between call by value, call by address, call by reference | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What Is difference between call by value, call by address, call by reference

31st Jan 2017, 7:06 PM
Kalpam Srivastava
Kalpam Srivastava - avatar
2 Answers
+ 1
There are two ways to pass value or data to function :  call by value and call by reference. Original value is not modified in call by value but it is modified in call by reference.
31st Jan 2017, 7:09 PM
Arpan Lunawat
Arpan Lunawat - avatar
+ 1
java support only call by value
1st Feb 2017, 5:31 AM
Somnath Ghosh
Somnath Ghosh - avatar