title: what does printing "%p" do?
body: <p>I have a linked-list. I want to put the current ptr <code>sBuffer</code> </p>
  
  <p>each link is :</p>
  
  <pre><code>typedef struct{
     SearchContext *context;
     void *history;
     char id[32];
  }ContextmenuContext;
  </code></pre>
  
  <p>but instead I'm getting the address of the next link.</p>
  
  <p>I think "%p" is the bug.</p>
  
  <p>what does printing "%p" do?</p>
  
  <p><code>snprintf_safe(sBuffer,"%p",((ContextmenuContext*)current)-&gt;history);</code></p>