title: Where is `%p` useful with printf?
body: <p>After all, both these statements do the same thing...</p>
  
  <pre><code>int a = 10;
  int *b = &amp;a;
  printf("%p\n",b);
  printf("%08X\n",b);
  </code></pre>
  
  <p>For example (with different addresses):</p>
  
  <pre><code>0012FEE0
  0012FEE0
  </code></pre>
  
  <p>It is trivial to format the pointer as desired with <code>%x</code>, so is there some good use of the <code>%p</code> option?</p>