Consider the following code snippet:
Will the copy constructor for List_Node be activated when new is called? I have written a program that uses code similar to this, and although it seems to work, I have never seen copy constructors used like this in any books or online articles.Code:List_Node node; List_Node *ptr; ptr = new List_Node(node); }