What is the difference between proc. sent BY VAL and BY SUB ?

 Posted by Bharathi Cherukuri on 5/18/2012 | Category: C# Interview questions | Views: 1790 | Points: 40

The main difference between these two is mentioned below:

BY VAL: The changes that are made will not be reflected back to the variable.
By REF: The changes will be reflected back to that variable.( same as & symbol in c, c++)

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response