In C language, the result of the logical

练习题库2022-08-02  65

问题 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.ANDB.NOTC.ORD.EOR

选项 A.AND
B.NOT
C.OR
D.EOR

答案 B

解析 在C语言中,如果操作数的值为O,则逻辑羞算NOT后的结果为1;如果操作纹的值非O,则逻辑运算NOT后的结果为O。
转载请注明原文地址:https://tihaiku.com/congyezige/2432231.html

最新回复(0)