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 is pure oop?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
which feature are not hold visual basic of oop?
What is a class?
32 Answers Infosys, TCS, Thylak,
What is polymorphism used for?
What is data binding in oops?
What is encapsulation with real life example?
What type of loop is a for loop?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
What is an advantage of polymorphism?
There are 2 empty jars of 5 and 3 liters capacity. And a river is flowing besides. I want to measure 4 liters of wanter using these 2 jars. How do you do this?
what is the definition of incapsulation