Quantcast
Channel: What's the difference between passing by reference vs. passing by value? - Stack Overflow
Viewing all articles
Browse latest Browse all 19

Answer by sifr_dot_in for What's the difference between passing by reference vs. passing by value?

$
0
0

the question is "vs".
and no body has pointed to important point.
in passing with values, additional memory is occupied to store the passed variable values.
while
in passing with reference, no additional memory is occupied for the values. (memory efficient in circumstances).


Viewing all articles
Browse latest Browse all 19

Trending Articles