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 between call by value and call by
reference?

Answer Posted / vijay r15

call by value means passing the value of variable.
Ex fun(a,b)

Call by ref means passing the address of the variable.
Ex fun(&a,&b)

By
Vijay r15
raj.vijay55@gmail.com

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is scope rule of function in c?

1102


Why header file is used in c?

1097


What are the advantages of Macro over function?

2031


What is masking?

1157


What are types of functions?

1045


What is exit() function?

1030


Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?

1108


Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?

1130


Explain the difference between call by value and call by reference in c language?

1115


How can a program be made to print the line number where an error occurs?

1089


Explain how can a program be made to print the line number where an error occurs?

1224


What is the best style for code layout in c?

1102


what do u mean by Direct access files? then can u explain about Direct Access Files?

2096


What is a rvalue?

1210


Describe the steps to insert data into a singly linked list.

1077