试题详情

下面代码的输出结果为 int func(int x) { int countx =0; while(x) { countx ++; x = x&(x-1); } return countx; } int main() { cout

A255

B8

C12

D6