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

Advantage and disadvantage of routing in telecom sector

0 Answers  


write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.

0 Answers   Wipro,


What is Virtual Keyword?

9 Answers   IBM, NA,


write a program to find 2 power of a 5digit number with out using big int and exponent ?

0 Answers  


What is the real time example of encapsulation?

0 Answers  


difference between abstraction and encapsulation with progarammatic eg. hi,just recently i went for an interview .The interviewer asked what is the difference between abstraction and encapsulation with programmatic eg. I gave the answer as encapsulation mean hiding the relevant data which is not useful for the user, eg a electric fan .hiding the information how the electricity is converted into machanical energy. abtraction showing only the relevant data to the user eg electric fan. it look ,its color ,it design etc only relevant data. Then the interviewer asked me, give me some programmic eg .I Said Let assume a web form having control like textbox,button etc. The user can view textbox,button etc this is the eg of abstraction and when the user click on the button how he is redirected is not known by the user is the eg of the encapsulation. Am I Correct .was the answer given by me is perfect .now i am planing to go for an another interview should i give the same answer.IF not please suggest me a better answer.with some good eg Please help

1 Answers  


what is the drawback of classical methods in oops?

0 Answers  


What does it mean when someone says I oop?

0 Answers  


What are the three parts of a simple empty class?

0 Answers  


what is the main difference between sizeof() operator in c and c++

3 Answers  


What is a class and object?

0 Answers  


what is virtual function?

3 Answers  


Categories