Difference between pass by reference and pass by value?
C Programming Language > Pointer in C Language > About Java Tutorial
1053
Answer:
Pass by reference passes a pointer to the value. This allows the caller to modify the variable directly.Pass by value gives a copy of the value to the caller. This allows the callee to modify the value without modifying the variable. (In other words, the callee simply can not modify the variable, since it lacks a reference to it.)
This Particular section is dedicated to Question & Answer only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.
Join Our telegram group to ask Questions
Click below button to join our groups.