Report question

Question: Scope of malloc used in a function