IBM interview question

Some basic C++ and Linux