title: C - What Happens To Memory After free()?
body: <p>I have this struct type that I malloc for, and after I free it the pointer still points to the data I assigned. Is that just because the pointer is pointing to memory that is free but hasn't been reallocated yet?</p>
  <pre><code>#include &lt;stdio.h&gt;
  
  struct S {
      int value;
  }
  
  int main () {
      S *s = malloc(sizeof(struct S));
      s-&gt;value = 8910;
      free(s);
      printf(&quot;s: %i\n&quot;, s-&gt;value);
  }
  </code></pre>