逻辑运算符 我思知我在 2025-10-21 30 阅读1分钟 #include <stdio.h> /* 逻辑运算符,结果就是: 真(1,正确),假(0,错误) 1.或。|| 格式: 表达式1 || 表达式2 规则:有一个为真,结果就是真;全假就是假 2.与。&& 3.非。! */ 运行结果: