Second Cup interview question

The basic questions. Nothing special