Infogain interview question

Basic C++, OOPs and STL