当输入数字13时,以下`do..while语句会输出什么?
int i = 0, t;
cin >> t;
do{
t = t & (t - 1);
i++;
}while(t);
cout << i;
1
2
3
4
发表评论