title: What is printing out when int pointer is printed with %d?
body: <p>This code:</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  int main() {
      int num;
      int *pi;
      num = 0;
      pi = &amp;num;
      printf("address: %p | %d\nvalue: %d\n", pi, pi, *pi);
  }
  </code></pre>
  
  <p>produces this output:</p>
  
  <pre><code>address: 0x7fff5952f9cc | 1498610124
  value: 0
  </code></pre>
  
  <p>I know that the left one is supposed to be the correct address, but what is printing out next to the address?</p>