title: how to store the bit string in array?
body: <p>how to count number of occurrences of 1 in a 8 bit string. such as 10110001.
  bit string is taken from user. like 10110001
  what type of array should be used to store this bit string in c?</p>