Pregunta de entrevista de Avery Dennison

basic C++ question, nothing much