IBM interview question

Some c++ questions about memory