title: What does %0x%x mean in C/C++ programming?
body: <p>I have the following code, but I'm not sure what <code>%0x%x</code> means in the following code?</p>
  
  <pre><code>sprintf(buf, "pixel : %0x%x \n", gpbImageData[100]);
  OutputDebugString(buf);
  </code></pre>
  
  <p><code>gpbImageData[100]</code> is pointing to an image data in the memory.</p>