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 c++ & why it is used?

1153


Can we use struct in c++?

1073


Explain the uses oof nested class?

1193


Does a derived class inherit or doesn't inherit?

1124


How does list r; differs from list r();?

1199


Write a function to perform the substraction of two numbers. Eg: char N1="123", N2="478", N3=-355(N1-N2).

1051


How many characters are recognized by ANSI C++?

1465


What is general form of pure virtual function? Explain?

1038


Is it possible to provide default values while overloading a binary operator?

1322


What is format for defining a structure?

1135


What is an associative container in c++?

1105


What are the types of pointer?

1142


What is the v-ptr?

1214


What is static function? Explain with an example

1130


What is lvalue?

1216