是/否 [英] Yes/No

查看:93
本文介绍了是/否的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这两个陈述是否相同:

a< = 20?b = 30:c = 30;

(a< = 20)?b = 30:c = 30;

Are the two statements same:
a<=20?b=30:c=30;
(a<=20)?b=30:c=30;

推荐答案

Meenu写道:
这两个陈述是否相同:
a< ; = 20?b = 30:c = 30;
(a <= 20)?b = 30:c = 30;
Are the two statements same:
a<=20?b=30:c=30;
(a<=20)?b=30:c=30;




Google" C ++运算符优先级

(是的,除非你有一些有趣的#define转发)


-

imalone



Google "C++ operator precedence"
(yes, unless you have some funny #define going round)

--
imalone





Ian Malone写道:


Ian Malone wrote:
Meenu写道:
是两个陈述相同:
a< = 20?b = 30:c = 30;
(a <= 20)?b = 30:c = 30;
Are the two statements same:
a<=20?b=30:c=30;
(a<=20)?b=30:c=30;



GoogleC ++运算符优先级

(是的,除非你有一些有趣的#define转发)

-
imalone



Google "C++ operator precedence"
(yes, unless you have some funny #define going round)

--
imalone




即使我这么认为,但提到的答案是否定的,我无法想象

出于某种原因



Even I thought so, but the answer mentioned is no, and I can''t figure
out a reason


Ian Malone写道:
Ian Malone wrote:

GoogleC ++运算符优先级

Google "C++ operator precedence"




哎呀,错了。显然说''c运算符优先''

-

imalone



Oops, wrong ng. Obviously that says ''c operator precedence''

--
imalone


这篇关于是/否的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆