Siemens Healthineers interview question

3. Question about C++ smart pointers