C 语言boolean 值判断
printf("%d\n", !0);
1
1
printf("%d\n", !0);
![](https://img2018.cnblogs.com/blog/1034027/201812/1034027-20181228193852267-1035977178.png)
#include <stdio.h>
int main(){
int x=23;
do{
printf("%d",x--);
}while(!x);
}
1
#include <stdio.h>
2
int main(){
3
int x=23;
4
do{
5
printf("%d",x--);
6
}while(!x);
7
}
<wiz_tmp_tag id="wiz-table-range-border" contenteditable="false" style="display: none;">