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 / sanish joseph

In Pass by value,copy of the value is passed, but in pass by
reference the address of the variables are passed as a
reference.pointer are variables storing the address of
another variable so it can be used as a pass by referece,
den it s teamed "passing by pointer".

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pure virtual function? Or what is abstract class?

1039


Explain the difference between struct and class in terms of access modifier.

1168


How can we read/write Structures from/to data files?

1111


What is the maximum value of a unsigned char a) 255 b) 256 c) 128

1060


What is abstraction in c++ with example?

1092


What is nested class in c++?

941


Where must the declaration of a friend function appear?

944


What is input operator in c++?

1022


Difference between Abstraction and encapsulation in C++?

1130


Should the this pointer can be used in the constructor?

1007


What is #include cmath?

1080


What is an undefined behavior and sequence points

986


the first character in the variable name must be an a) special symbol b) number c) alphabet

1081


How would you call C functions from C++ and vice versa?

1145


What is the difference between struct and class?

1524