0
What is issue in this copy constructor
Hi Refer code below: https://code.sololearn.com/c5H66D54uUV1 Why there is memory issue in this code? What am I missing here? And why i cannot use strcpy_s on sololearn?
1 Réponse
+ 1
I think, p2 is local reference variable, not a dynamic memory allocated one so no need to delete..