Cubeware interview question

C,C++ ,STL