ning ho

ning ho

  • NA
  • 2
  • 0

count the bits ON

Jul 4 2007 6:19 PM
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)