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

What are advantages of c++?

973


Is it possible to write a c++ template to check for a function's existence?

974


What is a flag in c++?

1015


What is searching? Explain linear and binary search.

957


What is a friend function in c++?

1519


Differentiate between late binding and early binding. What are the advantages of early binding?

993


What are the advantages of using const reference arguments in a function?

1041


How are the features of c++ different from c?

1033


write a corrected statement so that the instruction will work properly. if (4 < x < 11) y = 2 * x;

1965


What flag means?

906


Can a program run without main function?

1105


Can constructor be static in c++?

1067


what is data encapsulation in C++?

1024


If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?

998


By using c++ with an example describe linked list?

989