title: How to get a file length in c?
body: <p>I just have a quick question about how to get the length of a file containing hexadecimal numbers.
  For example:</p>
  
  <pre><code>724627916C
  </code></pre>
  
  <p>The only way I can think is to convert hex value to binary:</p>
  
  <pre><code>724627916C =&gt; 0111001001000110001001111001000101101100
  </code></pre>
  
  <p>then count the bits of binary value.
  Just wondering if this is the correct way?  Thanks </p>