Nokia interview question

Nothing unexpected, just basic programming principles on C and C++ (pointers, OOP, etc).