title: Format specifier %02x
body: <p>I have a simple program :</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  int main()
  {
          long i = 16843009;
          printf ("%02x \n" ,i);
  }
  </code></pre>
  
  <p>I am using <code>%02x</code> format specifier to get 2 char output,
  However, the output I am getting is:</p>
  
  <pre><code>1010101 
  </code></pre>
  
  <p>while I am expecting it to be :<code>01010101</code> .</p>