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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is static identifier?

1224


What is const and volatile in c?

1050


What are the complete rules for header file searching?

1091


What is the difference between formatted&unformatted i/o functions?

1060


write a c program to find the sum of five entered numbers using an array named number

2144


Explain what are bus errors, memory faults, and core dumps?

1277


Write a program for finding factorial of a number.

1089


Explain spaghetti programming?

1257


HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????

2698


Difference between constant pointer and pointer to a constant.

1147


If I have a char * variable pointing to the name of a function ..

1172


What is an auto keyword in c?

1099


What is s or c?

1066


What happens if a header file is included twice?

1037


What are the types of functions in c?

988