Pregunta de entrevista de Second Cup

The basic questions. Nothing special