int a=0,b=0,c=0; if(++a>0||++b>0) ++c;则a,b,c等于多少
来源:学生作业帮助网 编辑:作业帮 时间:2024/07/29 12:08:00
![int a=0,b=0,c=0; if(++a>0||++b>0) ++c;则a,b,c等于多少](/uploads/image/z/2476333-37-3.jpg?t=int+a%3D0%2Cb%3D0%2Cc%3D0%3B+if%28%2B%2Ba%3E0%7C%7C%2B%2Bb%3E0%29+%2B%2Bc%3B%E5%88%99a%2Cb%2Cc%E7%AD%89%E4%BA%8E%E5%A4%9A%E5%B0%91)
x)+QH5Id[k4
mD;m$;Mmd3ut|YO7LI*'R;X)V3l(vD!HB!ĦؕE]N33yd';zu.lk/J%?ٌ6yv x
int a=0,b=0,c=0; if(++a>0||++b>0) ++c;则a,b,c等于多少
int a=0,b=0,c=0; if(++a>0||++b>0) ++c;
则a,b,c等于多少
int a=0,b=0,c=0; if(++a>0||++b>0) ++c;则a,b,c等于多少
a=1,b=0 c=1
因为a先自加后1>0,所以不执行++b>0语句,所以b还是0