NetApp interview question

very basic C++.