WHAT IS THE DIFFERENCE BETWEEN CALL BY VALUE AND CALL BY REFERENCE?

Total Post:0

Points:0
C# 
C#
 206  View(s)
Ratings:
Rate this:
  1. Post:83

    Points:415
    WHAT IS THE DIFFERENCE BETWEEN CALL BY VALUE AND CALL BY REFERENCE?

    Difference between Call by Value and Call by Reference is, When using Call by Value, you are sending the value of a variable as parameter to a function, whereas Call by Reference sends the address of the variable. Also, under Call by Value, the value in the parameter is not affected by whatever operation that takes place, while in the case of Call by Reference, values can be affected by the process within the function.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!