differenciate between call by value and call by reference
Answers
Answered by
20
Answer:
KEY DIFFERENCE
In Call by value, a copy of the variable is passed whereas in Call by reference, a variable itself is passed. In Call by value, actual and formal arguments will be created in different memory locations whereas in Call by reference, actual and formal arguments will be created in the same memory location.
Similar questions
English,
5 months ago
Hindi,
5 months ago
India Languages,
5 months ago
Math,
10 months ago
Geography,
10 months ago