1) Explain call by value and call by reference.
Answers
Answered by
0
Answer:
1
Explanation:
1:2 2 .
Answered by
0
Explanation:-
call by value:- in call by value we passes the value of normal variable's to the calling function.in call by value the actual value of variable can't be changed . if you change the value of function parameter it is changed for the current function only but it not change the value of variable inside the function.
call by reference:- Here both actual and formal parameter refers to some memory location. therefore any changes made to the formal parameters will getbreflected to actual parameters.
Similar questions