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

WHAT IS ABSTRUCT DATA TYPE ? PLEASE EXPLAIN IT.

4 Answers   HCL,


why the memory allocated with new cant be freed using free()

2 Answers  


What is encapsulation c#?

0 Answers  


what is the difference b/w abstract and interface?

2 Answers   Merrill Lynch, Schneider, Scio Healthcare,


What is object in oops?

0 Answers  


What is this pointer in oop?

0 Answers  


suppose A is a base class and B is the derved class. Both have a method foo which is defined as a virtual method in the base class. You have a pointer of classs B and you typecast it to A. Now when you call pointer->foo, which method gets called? The next part of the question is, how does the compiler know which method to call?

3 Answers   EA Electronic Arts,


what is graphics

0 Answers  


What is the difference between a constructor and a destructor?

0 Answers  


what is the application of oops?

8 Answers   IBM,


How to call a non virtual function in the derived class by using base class pointer

3 Answers   HCL,


How do you answer polymorphism?

0 Answers  


Categories