> 其他 >
设a=3,b=2,c=1,逻辑表达式 (a>b)&&!c||1 的值为
人气:189 ℃ 时间:2020-05-19 18:31:46
解答
根据运算优先级
!(a>b) 为false;
!C为false;
1为true;
原式可为 false && false || true
答案为true.
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版