问题 单项选择题

In C language, the result of the logical ______ operator is 1 if the value of its operand is 0, 0 if the value of its operand is non-zero.

A.AND

B.NOT

C.OR

D.EOR

答案

参考答案:B

解析: 译文的含义是:在C语言中,如果操作数的值为0,则逻辑运算( )的结果为 1,如果操作数的值非0,则逻辑运算NOT的结果为0。选项B为正确答案。

单项选择题 A型题
单项选择题