Parameter passing techniques If you have any previous programming experience you might know that most of the popular programming languages support two parameter passing techniques namely: pass-by-value and pass-by-reference. In pass-by-value technique, the actual parameters in the method call are copied to the dummy parameters in the method definition. So, whatever changes are performed on the dummy parameters, they are not reflected on the actual parameters as the changes you make are done to the copies and to the originals. In pass-by-reference technique, reference (address) of the actual parameters are passed to the dummy parameters in the method definition. So,
The post What are different parameter passing techniques in Programming appeared first on Coding Security.
What are different parameter passing techniques in Programming
read more
Tidak ada komentar:
Posting Komentar