1.
Seminar default_ctor; // func 1
Seminar other_ctor(10); // func 3
2.It's a destructor. It's being invoked when the object is going to be destroyed, i.e. object is out of scope where it's been created.
3.They are constructors (default and with parameter)
Comments
Leave a comment