c# what's the difference between pass-by-ref and pass-by-value
Answers
Answered by
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
1
Answer:
hey watch the above pic for ur answer
Attachments:
Similar questions
English,
7 months ago
India Languages,
7 months ago
Business Studies,
7 months ago
English,
1 year ago
History,
1 year ago
French,
1 year ago