Pergunta de entrevista da empresa StreamNet

question with pointer with use of memory management