Does someone know what behaviour should I expect if I a class member function returns a class's instance by value but the class itself declares a pointer variable that is pointing a dynamically allocated data (explicitly defined within the construction to create it with operator new and within destruction to free it using delete when object is dead) at C++?
I'm going to use this prompt instead: A recreation of the image found at the URL i.sstatic.net/82nG2dDT.jpg but redrawn with sharper and more defined lines, textures and shapes.