Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between a shallow copy and a deep copy?

Answers were Sorted based on User's Feedback



What is the difference between a shallow copy and a deep copy?..

Answer / nashiinformaticssolutions

• Shallow Copy: Copies memory addresses. Changes in one object affect the other.
• Deep Copy: Creates a new copy of the actual data, independent of the original.

Is This Answer Correct ?    0 Yes 0 No

What is the difference between a shallow copy and a deep copy?..

Answer / glibwaresoftsolutions

• Shallow Copy: Copies memory addresses. Changes in one object affect the other.
• Deep Copy: Creates a new copy of the actual data, independent of the original.

Is This Answer Correct ?    0 Yes 0 No

What is the difference between a shallow copy and a deep copy?..

Answer / hr@tgksolutions.com

• Shallow Copy: Copies memory addresses. Changes in one object affect the other.
• Deep Copy: Creates a new copy of the actual data, independent of the original

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

let a,b,c be three integer numbers.write a c++ program with a function void rotate 1()such that a->b->c and c->a.

1 Answers  


How can you differentiate between inheritance and implementation in c++?

0 Answers  


What is a tree in c++?

0 Answers  


What is setiosflags c++?

0 Answers  


What are the defining traits of an object-oriented language?

0 Answers  


How do you allocate and deallocate memory in C++?

1 Answers  


What is cloning?

1 Answers  


What are the advantages of using pointers in a program?

0 Answers  


Write a program which employs Recursion

0 Answers  


How static variables and local variablesare similar and dissimilar?

0 Answers  


What are the various compound assignment operators in c++?

0 Answers  


Why namespace is used in c++?

0 Answers  


Categories