why the argument is passed by reference to a copy
constructor?example?
Answers were Sorted based on User's Feedback
Answer / ashponni
Compliler runs out of memory,by creating copies of object
Is This Answer Correct ? | 10 Yes | 0 No |
Answer / vishwa
we are creating a copy of the data , so it is better to get
the data directly from the original object, reference
mechanism provides us above. so we use the reference object
and also to restrict the change to original object we also
pass the reference as const.
Is This Answer Correct ? | 4 Yes | 0 No |
what are the ways in which a constructors can be called?
what is the difference between javap and jad utility
What is this interview room ? Is it a class or an object.
How to reverse a sentence in c program ex: ram is a good boy answer: boy good a is ram
What are callback functions in c++
what is a virtual class?
5 Answers Cap Gemini, IBM, Infosys, Trinity Technologies,
what is costructor?
In c++ there is only virtual destructors, no constructors. Why?
What is the purpose of polymorphism?
What does and I oop and sksksk mean?
what is namespace? what are the uses of namespace?
class type to basic type conversion