Nokia interview question

Pointer concepts