title: How do you format an unsigned long long int using printf?
body: <pre><code>#include &lt;stdio.h&gt;
  int main() {
      unsigned long long int num = 285212672; //FYI: fits in 29 bits
      int normalInt = 5;
      printf("My number is %d bytes wide and its value is %ul. A normal number is %d.\n", sizeof(num), num, normalInt);
      return 0;
  }
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>My number is 8 bytes wide and its value is 285212672l. A normal number is 0.
  </code></pre>
  
  <p>I assume this unexpected result is from printing the <code>unsigned long long int</code>. How do you <code>printf()</code> an <code>unsigned long long int</code>?</p>