Siemens Healthineers Interview Question

3. Question about C++ smart pointers