IBM interview question

Basic C++ question and object oriented funda.