"'  int hammingwieght(unint_32 n){
int count =0;
while (n){
n &=(n-1);
count++;
}
return count;

Comments (0)