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 static in oop?
What is advantage of inheritance?
What is oop in simple words?
What is OOPS and How it is different from Procedural Programming ?
23 Answers HP, Infosys, Thyrocare,
What is abstraction in oop?
what about you? wahat is your object? introduce your self?
1 Answers Ajmal Perfumes, TCS,
What is difference between abstraction and encapsulation?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
In which cases you use override and new base?
Why is polymorphism used?
what is the difference between class and structure in C++?
sir i want to know which posting to apply since i am BE CSE.. also want to know what are the rounds there for my interview...Expecting for ur valuable answer....