Pergunta de entrevista da empresa Aurora Innovation

c++ memory management related question