7
Answers

count the bits ON

any idea how to design a function which returns the number of ON bits of an integer. ex, pass a number 1234 [Binary: 10011010010] returns 5, thanks

Answers (7)