title: When should I use malloc in C?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1963780/when-should-i-use-malloc-in-c-and-when-dont-i">When should I use malloc in C and when don&#39;t I?</a>  </p>
  </blockquote>
  
  
  
  <p>Hi, I'm new to the C language and found the malloc function. When should I use it? In my job, some say you have to use malloc in this case but other say you don't need to use it in this case. So my question is: <strong>When should I use malloc ?</strong> It may be a stupid question for you, but for a programmer who is new to C, it's confusing!</p>