How to copy structure contents into another structure including pointers

Viewed 51

I am trying to deep copy from one structure to another structure However structure has many pointers,how do I copy it in single statement? Do I have to manually copy each structure pointer member?

1 Answers

You have to manually copy everything if you want a deep copy.

Related