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

When will a constructor executed?

5 Answers   TCS,


What is the benefit of oop?

0 Answers  


what are three tenets of object orinted Systems?Why they call like that ? Please answer me. Advance thanks.

2 Answers   Excel,


what is runtime polymorphism? For the 5 marks.

3 Answers  


polymorphism means?

6 Answers   BFL,






IN PROGRAMING LANGAUGE A C++ IS PURELY OBJECT ORIENTED OR NOT?

2 Answers  


What is a class in oop?

0 Answers  


What is polymorphism and why is it important?

0 Answers  


What is balance factor?

0 Answers  


namespace is working on which compiler?

3 Answers  


You have one base class virtual function how will call that function from derived class?

4 Answers  


How would you stop a class from class from being derived or inherited.

18 Answers   Ness Technologies,


Categories