title: Why doesn't my program seg fault when I dereference a NULL pointer inside of malloc?
body: <p>I use this malloc style all the time  </p>
  
  <pre><code>int *rc = 0;
  rc = malloc(sizeof(*rc));
  </code></pre>
  
  <p>However, it doesn't seg fault even though when I call <code>sizeof(*rc)</code> I assume that <code>rc==0</code>, and I am dereferencing a <code>NULL</code> pointer.</p>