Pregunta de entrevista de Softsuave

Programming question with dynamic memory allocation