Pregunta de entrevista de AppColony

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