C语言中if(!x)和if(x) 的等价结构是什么

来源:学生学帮网 编辑:学帮网 时间:2024/06/18 01:17:25

C语言中if(!x)和if(x) 的等价结构是什么

if(!x)等价于if(x == 0)
if(x)等价于if (x !=0)