7
Answers

count the bits ON

Ask a question
ning ho

ning ho

17y
1.9k
1
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)