C++ interview examples