Class Cents(){ int m_val; public: Cents(int x=0){ cout<<\"Constructor\";} Cents(const Cents& src){ cout<<\"Copy constructor\"} Cents Ad
This happens because most of the compilers perform Return Value Optimization (aka RVO) to save on copying.