Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference function call by value & function
call by reference?

Answers were Sorted based on User's Feedback



What is the difference function call by value & function call by reference?..

Answer / nakul sharma

In Call by value we simply passes the variable to the
function but in CAll by reference we actually pass the
memory address where the variable we want to pass is stored.

Is This Answer Correct ?    9 Yes 0 No

What is the difference function call by value & function call by reference?..

Answer / sona

In call by reference we provide address of another variable


In call by value we directly assigned value to variable

Is This Answer Correct ?    9 Yes 1 No

What is the difference function call by value & function call by reference?..

Answer / nb

In call by value,the function arguements will be duplicated
and sent to the called function from the function which is
calling it.

In call by reference ,the function arguements' address will
be passed to the called function by the calling function.
This method is the best practice since address is passed
rather than value.

Is This Answer Correct ?    3 Yes 0 No

What is the difference function call by value & function call by reference?..

Answer / rahul

In call by value function, the value of the actual
parameters or arguments from calling function is passed on
to the called functions i.e. actual value is copied into the
formal parameters of called function. The arguments passed
may be variables of any data type or constants also.

In call by reference, the address of actual parameters are
passed on to the called functions from calling functions.

So, the values stored in these memory locations can be
altered, which is reflected in calling functions also.

Is This Answer Correct ?    2 Yes 0 No

What is the difference function call by value & function call by reference?..

Answer / sangeetha

In call by value, the changes made in the formal arguments
does not affect the actual argument

In call by reference, the changes made in the formal
arguments does affect the actual argument

Is This Answer Correct ?    1 Yes 0 No

What is the difference function call by value & function call by reference?..

Answer / abirami

function call by refernce will be begin with "&" symbols.i
think sooo..
but i dont know to explain function call by values!!!!!!!

Is This Answer Correct ?    3 Yes 5 No

Post New Answer

More C Interview Questions

C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions

0 Answers  


What is identifiers in c with examples?

0 Answers  


x=y=z=1 z=++x||++y&&++z Printf("%%%d";xyz) what is the values of x,y and z?????

3 Answers  


Can anyone tell what is stack overflow? what precaution we should take?

1 Answers  


coding for Fibonacci.?

1 Answers  


What is structure in c definition?

0 Answers  


How to receive strings with spaces in scanf()

7 Answers  


What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?

0 Answers  


What are all different types of pointers in c?

0 Answers  


Explain the term printf() and scanf() used in c language?

0 Answers  


Why structure is used in c?

0 Answers  


Is c is a middle level language?

0 Answers  


Categories