Dear experts,
I have a confusion in call by reference, call by content and call by value.
I know call by reference use to share same memory area in both calling and called program. and call by content used seprate local copy of arguments passed by calling program. and change in called program does not reflect back in calling program as their called program use a local copy of data.
But my question is that in what situations we use call by reference, call by content and call by value.
Means, i have two programs.
Program A
program B.
How do i know i should use call by reference or call by content.....
Please give me answer, thanks in advance.
Thanks
With Regards.
Deepak kumar