Nokia interview question

C and C++