title: C struct pointer
body: <p>I was trying to understand some code written by others. But I am not very familiar with C. Could anyone explain the following code? Thx ahead!</p>
  
  <pre><code>struct cell *ptr = (struct cell* ) malloc ( (input * 1024) * sizeof(struct cell));
  </code></pre>