Monday, 24 June 2013

what are difference between call by reference and call by value, difference between call by reference and call by value


when the called function creates a new set of variables and copies the values of arguments into them.
then it is known  as call by value whereas
      

when the called variable doesn't create any variable starts pointing the original varaible then this is known as call by reference.
 

 .

0 comments:

Post a Comment