Siemens interview question

Oops concept smart pointer qt