Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C++
Default functions implemented by compiler
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Murali Krishna, post: 2565780"] yes I agree Rolf. I have a query. In an interview, they asked my friend about shallow and deep copy. he could not explain because we never heard about that. After that some one said.. deep copy happens through default constructor and shallow copy is thru copy constructor. I think I did not match them correctly. plz correct which is deep and shallow. and also said.. Copy constructor is dangerous. While programming with pointers, it may lead to exception. and shallow (copy constructor) will not have that problem. Plz tell about this. -- Murali Krishna. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
Default functions implemented by compiler
Top