ANRA Technologies interview question

oops , smart pointers , c++ basis