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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the important components of cohesion?

557


What exactly is polymorphism?

612


What is oops and why we use oops?

573


Why is there no multiple inheritance?

572


What is object in oop with example?

707






Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4248


What is encapsulation c#?

603


What is the difference between encapsulation and polymorphism?

598


What is advantage of inheritance?

693


What is pure oop?

599


What is the difference between inheritance and polymorphism?

594


Write a program to sort the number with different sorts in one program ??

1923


write knight tour problem which is present in datastructure

2168


What are the 5 oop principles?

605


What polymorphism means?

624