In C++ what is the difference between return by value and return by reference in the function?
abc abc
351
Reputation points
Hi,
In C++ what is the difference between return by value and return by reference in the function?
When we need to use return by value and return by reference in the function?
Thanks.