title: How to compare hex values using C?
body: <p>I am working with hex values. Until now I know how to print hex values and also precision thing. Now I want to compare the hex values. For example I am reading data from a file into a char buffer. Now I want to compare the hex value of data in the buffer. Is there anything like this?</p>
  
  <pre><code>if  hex(buffer[i]) &gt; 0X3F  
  then
  //do somthing
  </code></pre>
  
  <p>How can I do this?</p>