title: C - Get a bit from a byte
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2249731/how-to-get-bit-by-bit-data-from-a-integer-value-in-c">how to get bit by bit data from a integer value in c?</a>  </p>
  </blockquote>
  
  
  
  <p>I have a 8-bit byte and I want to get a bit from this byte, like
      getByte(0b01001100, 3) = 1</p>