Continental interview question

some questions about pointers, classes..