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

Answer Posted / john otieno onyango

passby value a copy of the entire object is passed to the
function
While
pass by reference only the address of the object is
transferred to the function

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 oops concept with example?

968


Why do we need oop?

1104


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2549


What is the point of polymorphism?

995


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

2140


What is polymorphism give a real life example?

973


#include #include #include #include void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort

2564


What are main features of oop?

1080


What is object in oops?

1022


What is polymorphism and types?

1042


What is the benefit of oop?

999


Which is better struts or spring?

988


What is encapsulation with real life example?

977


What is encapsulation with example?

1024


What is polymorphism oop?

1008