title: Printing a malloc'd pointer always gives the same address
body: <p>Am I printing it wrong?</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;stdlib.h&gt;
  
  int
  main( void )
  {
      int *       p = malloc(100000);
      int *       q;
  
      printf("%p\n%p\n", (void *)p, (void *)q);
  
      (void)getchar();            /* to run several instances at same time */
  
      free(p);
      return 0;
  }
  </code></pre>
  
  <p>Whether I run it sequentially or in multiple terminals simultaneously, it always prints "0x60aa00000800" for <code>p</code> (<code>q</code> is different, though).</p>
  
  <p><strong>EDIT:</strong> Thanks for the answers, one of the reasons I was confused was because it <em>used</em> to print a different address each time.  It turns out that a new compiler option I started using, <code>-fsanitize=address</code>, caused this change.  Whoops.</p>