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 is data type in c++?

968


Explain shallow copy?

998


What are smart pointers?

2165


What is setiosflags c++?

908


What operator is used to access a struct through a pointer a) >> b) -> c) *

1054


What is the maximum combined length of command line arguments including the space between adjacent arguments?

956


What is the purpose of templates in c++?

987


What c++ library is string in?

1000


What is helper in c++?

1036


Keyword mean in declaration?

1002


How does a C++ structure differ from a C++ class?

1073


Tell me what are static member functions?

1035


What is a container class?

1056


What is the purpose of extern storage specifier?

1098


When are exception objects created?

1016