cc语言中的一个小问题
在c语言中有一些逻辑运算符,其中对"!"不是很理解,求大神解答一下,感激不禁
The result of the logical negation operator ! is 0 if the value of its operand compares unequal to 0, 1 if the value of its operand compares equal to 0. The result has type int.
The expression !E is equivalent to (0==E).
The expression !E is equivalent to (0==E).