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 differance between pass by reference and pass
by value.

Answer Posted / shalini

In the pass by reference we are using the pointer that is
here, we are passing only address where value is stored. but
in the case pass by value we are using ordinary variable
that is pass the value itself. here the value cannot be
changed in calling function and returning back to called
function but this is possible in call by reference

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c still relevant?

1080


Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop

2157


#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }

1123


Explain which function in c can be used to append a string to another string?

1090


What does void main return?

1122


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

1089


What are the different properties of variable number of arguments?

1161


Can we initialize extern variable in c?

1136


difference between object file and executable file

6723


What is the use of a static variable in c?

1062


What is sizeof int in c?

1059


What is difference between main and void main?

1210


List the difference between a 'copy constructor' and a 'assignment operator' in C?

1087


How to find a missed value, if you want to store 100 values in a 99 sized array?

1411


Is that possible to add pointers to each other?

1369