InterviewSolution
Saved Bookmarks
| 1. |
If the object is passed by value to a copy constructor?(a) Only public members will be accessible to be copied(b) That will work normally(c) Compiler will give out of memory error(d) Data stored in data members won’t be accessibleI have been asked this question in quiz.My doubt is from Constructors topic in section Constructors and Destructors of Object Oriented Programming |
|
Answer» The CORRECT choice is (c) Compiler will give out of memory error |
|