explain Call by Value with respect to structure in c++
Answers
Answered by
2
Answer:
In call by value, original value is not modified. In call by value, value being passed to the function is locally stored by the function parameter in stack memory location. If you change the value of function parameter, it is changed for the current function only.
Answered by
2
Call by value in C++
In call by value, original value is not modified. In call by value, value being passed to the function is locally stored by the function parameter in stack memory location. If you change the value of function parameter, it is changed for the current function only
Similar questions