int a=1,b=2,c=3,d=4,m=2,n=2;执行表达式:(m=a>b)&&(n=c>d) 后,m,n的值为?

学习 时间:2026-04-01 20:52:56 阅读:3744
int a=1,b=2,c=3,d=4,m=2,n=2;执行表达式:(m=a>b)&&(n=c>d) 后,m,n的值为?大哥门

最佳回答

欢呼的日记本

现代的手套

2026-04-01 20:52:56

m=0 n=2a>b不成立m=0;又因为(m=a>b)为0,所以不执行(n=c>d),即n的值不变。这是&&的特性。

最新回答共有2条回答

  • 顺利的毛巾
    回复
    2026-04-01 20:52:56

    m=0 n=2a>b不成立m=0;又因为(m=a>b)为0,所以不执行(n=c>d),即n的值不变。这是&&的特性。

上一篇 英语翻译请不要拷贝词典的翻译 那些对我并没有帮助

下一篇 Playing computer games is bad for our health,but ---(spend)s