Sollicitatievraag bij AppColony

Write code to give the number of positive bits in a 32 bit integer using bitshifting.