Prepare for your Next Interview
This is a discussion on Call by Value and Call by Reference within the C and C++ forums, part of the Software Development category; Call by Value and Call by Reference In this tutorial you will learn about C Programming - What is difference between call by value and call by reference in function? The ...
|
|||
|
Call by Value and Call by Reference
Call by Value and Call by Reference
In this tutorial you will learn about C Programming - What is difference between call by value and call by reference in function? The arguments passed to function can be of two types namely 1. Values passedThe first type refers to call by value and the second type refers to call by reference. For instance consider program1 Read More... |
| The Following User Says Thank You to Lokesh M For This Useful Post: | ||
| Sponsored Links |
|
|||
|
Re: Call by Value and Call by Reference
It was useful information about passing arguments to functions. In call by value argument gets passed as variables and in call by reference address gets passed. Does it mean if we use call by reference the execution time would be faster for the function since we the address gets accessed directly. If not why is it so?
|