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


What is the difference between pass by reference and pass by
value?

Answers were Sorted based on User's Feedback



What is the difference between pass by reference and pass by value?..

Answer / simran

the argument passed by refrence must be a veriable.but in
passed by value may be a constant, averiable.

Is This Answer Correct ?    6 Yes 10 No

What is the difference between pass by reference and pass by value?..

Answer / p suresh kumar

passing an object by value is defined by the copy
constructor of that object's class. This can make pass-by-
value an extremely expensive operation.

Is This Answer Correct ?    11 Yes 18 No

Post New Answer

More OOPS Interview Questions

Write a program to accept a number and to print numbers in pyramid format? for eg:for a no. 5 1 212 32123 4321234 543212345

7 Answers  


Why is destructor used?

0 Answers  


what is runtime polymorphism? For the 5 marks.

3 Answers  


Can we call a base class method without creating instance?

6 Answers  


which are the 4 members functions in c++ objects that can either be declared explicitly by programmer or implementation if nt available.

4 Answers  


What is destructor example?

0 Answers  


why function overloading is not called as pure polymorphism?

2 Answers  


What is property in oops?

0 Answers  


There are 2 empty jars of 5 and 3 liters capacity. And a river is flowing besides. I want to measure 4 liters of wanter using these 2 jars. How do you do this?

2 Answers  


What is difference between inheritance and polymorphism?

0 Answers  


C#.net Interview Question A=10 B=5 C=A+B Print C The above will be given in a multiline textbox. You need to parse the above input, store values for A,B&c. And you have to display the value of C.

1 Answers   Syncfusion,


What is oops with example?

0 Answers  


Categories