title: Bit Manipulation on char array in c
body: <p>If I am given a char array of size 8, where I know the the first 3 bytes are the id, the next byte is the message, and the last 3 bytes are the values. How could I use bit manipulation in order to extract the message. </p>
  
  <p>Example: a char array contains 9990111 (one integer per position), where 999 is the id, 0 is the message, and 111 is the value. </p>
  
  <p>Any tips? Thanks!</p>