首页/ 题库 / [单选题]问号运算符使用: int x=8, y的答案

问号运算符使用: int x=8, y=3, z; z=x>y?5+y:2-y 则X的值为:( )

单选题
2021-07-17 23:26
A、5;
B、6 ;
C、-1;
D、8;
查看答案

正确答案
D

试题解析

相关题目
boost的意思是:help or encourage to increase or improve
eloquent的意思是:fluent or persuasive in speaking or writing

A campus emergency ______ occur at any time of the day or night, weekend, or holiday, with little or no warning.

VisualBasic布尔运算符Xor,Or,Eqv,And中,级别最高的运算符是( )。
Visual Basic布尔运算符Xor,Or,Eqv,And中,级别最高的运算符是
Visual Basic逻辑运算符Xor、Or、Eqv、And中,级别最高的运算符是 ______。
指令ORS功能,可实现多个指令块的“与”运算。
Hurry up please, or I’ll be late.
由基本逻辑运算(AAND(NOT)B)OR((NOTA)ANDB)构成的复合运算称为()运算。
布尔逻辑算符AND/OR/NOT的优先顺序是( )
什么叫ORS?如何配制?如何使用?
()any case or suspected case of quarantinable disease,or any case of eruptive disease or any death be discovered,the local quarantine officer must be notified immediately.
已知A=40;B=30;C=100;D=50,逻辑“与”运算符为and,“或”运算符为or,“非”运算符为not。计算表达式A<>
已知A=40;B=30;C=100;D=50,逻辑“与”运算符为and,“或”运算符为or,“非”运算符为not。计算表达式(A>B+20)or(B+60<>
已知A=40;B=30;C=100;D=50,逻辑“与”运算符为and,“或”运算符为or,“非”运算符为not。计算表达式A+A*5的值,结果为()。
Masters are()solely responsible for all damages or accidents of whatever kind resulting from the navigating or handling of their vessels by day or by night.
系统中雷达状态包括Unknown、Operational(or ON)、Failed(or OFF)、Detached。
The carrier is liable for loss of or damage to the goods or delay in delivery caused by fire,()the claimant proves that the fire arose from fault or neglect on the part of the carrier,his servants or agents.
Shutdown price(or point,or rule) 停业价格(或停业点、停业原则)
写出以下运算符代表信义:AND(),OR()。
广告位招租WX:84302438

免费的网站请分享给朋友吧