Motorola Mobility interview question

Complete C++ function? ? ?