【单选】假定x=500,下面函数的返回值是 ()int fun(int x...
发布于 2022-03-03 16:33:04
假定x=500,下面函数的返回值是 ()
int fun(int x) { int countx = 0 while (x) { countx++ x = x & (x – 1) } return countx }
登录后免费查看答案
关注者
0
被浏览
32