Math, asked by ssaiarpan9513, 1 year ago

c# what's the difference between pass-by-ref and pass-by-value

Answers

Answered by Anonymous
1

Answer:

Step-by-step explanation:

in pass by value,value of actual parameters is copied to formal parameter and any change in formal parameter doesn't affect the actual parameters.

in pass by reference,address of actual is copied to formal and any change in formal is reflected to actual parameters.

Answered by THEGOODBOY90
1

Answer:

hey watch the above pic for ur answer

Attachments:
Similar questions