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

Ow can I insert or delete a line (or record) in the middle of a file?

1047


Are the outer parentheses in return statements really optional?

1157


in linking some of os executables are linking name some of them

2200


What is c token?

1121


How can I write functions that take a variable number of arguments?

1186


what type of questions arrive in interview over c programming?

2081


Why should I prototype a function?

1249


c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above

1099


Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above

1189


What is the purpose of the preprocessor directive error?

1314


What are the types of c language?

1078


Where we use clrscr in c?

1184


An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?

1287


A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor

1138


Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.

2144