Question: Pls give me the out put of this code class StuName( public: StuName) 0 3. StuName(string name) this-name new string(name); -StuName0 4. cout name; 5.

Pls give me the out put of this code  Pls give me the out put of this code class StuName(

class StuName( public: StuName) 0 3. StuName(string name) this-name new string(name); -StuName0 4. cout name; 5. private: string namef nullptr void passByRef(const unique ptr& uPtr _R) 6. cout sPtr s)t cout name uPtr make unique StuName>(Chip") passByRef(name_uPtr); 9. cout ("Dale"); shared_ptr name_sPtrf name uPtr.release0 weak_ptr name_sPtr2( name_sPtr ); cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!