When an object is copied in C++, its copy constructor gets called. These have a prototype that looks like this: classname (const classname &obj);.
確定! 回上一頁