title: C printf integer type U32
body: <p>I have the hex value <code>0x5a800000000b</code> and I'm trying to get a printf statement in C to print it to the console.</p>
  
  <p>So far (because I'm useless in C) I'm able to get the 'b' to print, using the syntax:</p>
  
  <pre><code>printf("Hex value%x\n", value);
  </code></pre>
  
  <p>The value is stored in an integer type U32, but after trying all different combinations of %llx, %lx, I just keep getting compiler warnings.</p>
  
  <p>I'm guessing that I'm getting the printf syntax wrong, but I can't seem to find the right % option, can someone help me out?</p>
  
  <p>Thanks</p>