Suppose that MyClass has methods with the following prototypes:
void method1(MyClass & object1);
MyClass * method 7();
What will this method be, a destructor, constructor, copy constructor, overloaded= or default constructor?
This is one of the questions in my homework.
I think the first one is the default constructor and the second one is a copy constructor, but I am not sure about it. I know that these methods are not destructors for sure, so I need help with this.