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...

Explain "passing by value", "passing by pointer" and
"passing by reference" ?

Answer Posted / roshanpr

During pass by value a duplicate copy of the parameters
passed are created. Any changes made to copy will not
reflect the actual parameters.

In pass by pointer(it called as pass by address) duplicate
copy is not created. and any chagnes made to copy will
reflect in actual parameters also.

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe exception handling concept with an example?

1040


Explain terminate() function?

1037


Mention the purpose of istream class?

1098


What is the difference between ++ count and count ++?

1130


which operator is used for performing an exponential operation a) > b) ^ c) none

1040


How do you declare A pointer to a function which receives nothing and returns nothing

1218


Reverse the Linked List. Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL

789


What header file is needed for exit(); a) stdlib.h b) conio.h c) dos.h

1038


What is constructor in C++?

1071


What are the advantages of using friend classes?

1132


How do I exit turbo c++?

1056


What is cout flush?

1014


How can you link a c program with a c function?

1056


Write my own zero-argument manipulator that should work same as hex?

1045


What is an accessor in c++?

1063