Nokia interview question

C++ functions