When printing hex values using %x why is 'ffffff' printed after each value?
<p>In a sample c++ code I will open a file and print each char in hexa
file has only 16 chars but why ffffff will print after each heax values?</p>

<pre><code>char buff[256];
// buff filled with fread
for(i=0;i&lt;16;i++)
printf("%x",buff[i]);
</code></pre>

<p>Output is:</p>

<pre><code>4affffff67ffffffcdffffff
</code></pre>

<p>Why is this?</p>
