title: Difference between two malloc definition of a struct
body: <p>I would like to know if there's a real difference between this:</p>
  
  <pre><code>c = (struct_t *) malloc(sizeof(struct_t));
  </code></pre>
  
  <p>and this</p>
  
  <pre><code>c = malloc(sizeof(struct_t *));
  </code></pre>
  
  <p>Besides avoid the cast, is the compiler takes any advantage in the second form respect the first? Or the two ways are completely the same and is just a <em>"aesthetical"</em> question ?</p>