如果int a=2 b=3 c=0 下列正确的是 A a\\(b=c)执行后b的值为0 B
>b!=c和a>(b!=c)的执行顺序是一样的Cn&&b>c的结果为假D!a!=(b=c)表达式的值为1...
>b!=c和a>(b!=c)的执行顺序是一样的
C n&&b>c的结果为假
D !a!=(b=c)表达式的值为1 展开
C n&&b>c的结果为假
D !a!=(b=c)表达式的值为1 展开
2个回答
展开全部
&&的结合性高,而||只要求其中一个为真即可,++a||++b&&++c等价于++a||(++b&&++c),因此只判断前++a与(++b&&++c)两项,在本题++a!=0为真,因此b不会再执行,所以b=2。
例:I will tell him about it if(/when) I see him tomorrow.
本题Many people have realized that 是主句,为现在完成时,不影响that-宾语从句的谓语动词。可忽略不看。只看下一句就行:
We won't have any more clean water to drink unless something _____ to fight against pollution.
unless=if... not...是引导条件状语从句的。
B是将来时,A是过去时,C是非谓语,可排除。
D。是一般现在时的被动语态。
unless sth. is done to fight against pollotion= If sth. is not done to ...
=if we don't do sth. to fight....
译:许多人已经意识到,如果不采取措施与污染作斗争,我们将不再有干净的饮用水可喝。
例:I will tell him about it if(/when) I see him tomorrow.
本题Many people have realized that 是主句,为现在完成时,不影响that-宾语从句的谓语动词。可忽略不看。只看下一句就行:
We won't have any more clean water to drink unless something _____ to fight against pollution.
unless=if... not...是引导条件状语从句的。
B是将来时,A是过去时,C是非谓语,可排除。
D。是一般现在时的被动语态。
unless sth. is done to fight against pollotion= If sth. is not done to ...
=if we don't do sth. to fight....
译:许多人已经意识到,如果不采取措施与污染作斗争,我们将不再有干净的饮用水可喝。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询