Pergunta de entrevista da empresa WD

In C, determine how many '1' bits are in an unsigned 8 bit integer?