Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What is the main difference between shallow and deep copying of structs?
Depends on context, both can be identical
Shallow copy automatically allocates new memory
Deep copy duplicates pointers and data; shallow copy only copies pointers
Shallow copy duplicates pointers and data; deep copy only copies pointers
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!