请帮我这个代码.我不知道为什么输出不是8.
#include <stdio.h>
#include <stdlib.h>
int main(){
char c;
c = c & 0;
printf("The value of c is %d", (int)c);
int j = 255;
c = (c | j);
int i =0;
while( (c & 1) == 1){
i++;
c = c>>1;
}
printf("the value of i is %d",i);
system("pause");
return 0;
}
Run Code Online (Sandbox Code Playgroud)
对于给我-1的所有人,我尝试打印这些值.但它进入了一个无限循环.