1.

What Are The Passing Arguments?

Answer»

PassByValue : When an argument is passed by VALUE the FUNCTION can accesses the temperory local COPY of the arguments and can CHANGE the value of the local copy.

PassByRef: When an argument is passed by reference the function can accesses the original value of the argument and can change it directly.

PassbyReadOnly: When an argument is passed by read-only we can’t change its value but we can change the value of the argument but we can’t assign another OBJECT to that object.

PassByValue : When an argument is passed by value the function can accesses the temperory local copy of the arguments and can change the value of the local copy.

PassByRef: When an argument is passed by reference the function can accesses the original value of the argument and can change it directly.

PassbyReadOnly: When an argument is passed by read-only we can’t change its value but we can change the value of the argument but we can’t assign another object to that object.



Discussion

No Comment Found