title: constructing 32 bit unsigned int in c
body: <p>I am trying to construct a 32 bit binary value using an unsigned int. This is how
  the 32 bit is split into parts</p>
  
  <p>part 1 = 4 bit</p>
  
  <p>part 2 = 2 bit</p>
  
  <p>part 3 = 12 bit</p>
  
  <p>part 4 = 2 bit</p>
  
  <p>part 5 = 12 bit</p>
  
  <p>How do i use the parts to construct 32 bit binary value (unsigned int) using
  bit shifting can someone please help</p>
  
  <p>(cant just shift bits... what if i want to update certain part?)</p>