📜  感叹号 in - C 编程语言代码示例

📅  最后修改于: 2022-03-11 15:04:36.560000             🧑  作者: Mango

代码示例1
The negation operator (!) simply just reverses the meaning of its operand.

The operand or the expression must be of arithmetic or pointer type. But the operand/result of expression is implicitly converted to data type bool (boolean 0 means false, Non zero means True).

The result is true if the converted operand is false; the result is false if the converted operand is true. The result is of type bool.