call by value means?

What is meant by ‘call by value’?
In C++, structures can be passed to functions by two methods namely ‘by value’ and ‘by reference’. In ‘call by value’ method, the called function copies the passed structure on to its own work copy; the original structure then remains unaffected.

No comments:

 
Top Blogs