这是C++笔试的试题,最好能每个选项解释一下,Which of the following is a valid/useful boolean expression.( C )A) (1 < x < 100) B) x C) (x =< 5) & (x>=5) D) (x = 1) || (x = 1)

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/19 18:16:10
这是C++笔试的试题,最好能每个选项解释一下,Whichofthefollowingisavalid/usefulbooleanexpression.(C)A)(1=5)D)(x=1)||(x=1)这

这是C++笔试的试题,最好能每个选项解释一下,Which of the following is a valid/useful boolean expression.( C )A) (1 < x < 100) B) x C) (x =< 5) & (x>=5) D) (x = 1) || (x = 1)
这是C++笔试的试题,最好能每个选项解释一下,
Which of the following is a valid/useful boolean expression.( C )
A) (1 < x < 100) B) x C) (x =< 5) & (x>=5) D) (x = 1) || (x = 1)

这是C++笔试的试题,最好能每个选项解释一下,Which of the following is a valid/useful boolean expression.( C )A) (1 < x < 100) B) x C) (x =< 5) & (x>=5) D) (x = 1) || (x = 1)
A.不支持连续表达式,应写成1