网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

若有定义:int a=5,b=2,c=1;则表达式a-b

  • A、0
  • B、1
  • C、3
  • D、-1

参考答案

更多 “若有定义:int a=5,b=2,c=1;则表达式a-bA、0B、1C、3D、-1” 相关考题
考题 ( 6 )若有定义语句: int a=3,b=2,c=1;, 则表达式 ab?a:b 的值是 ___________ 。

考题 若有定义int a=5,b=7;,则表达式a%=(b%2) 运算后,a的值为( )。A.0B.1C.11D.3

考题 若有定义语句int b=2;,则表达式(b 若有定义语句int b=2;,则表达式(bA.4B.8C.0D.2

考题 若有定义语句:int x=3,y=2,z=1;则表达式x <y?x:y的值是______。

考题 若有定义int x,*pb;则正确的赋值表达式是()。 A.pbB.int a[2] [ ]{1,2,3,4,5,6};C.int a[ ] [3]{1,2,3,4,5,6};D.int a[2,3]{1,2,3,4,5,6}

考题 若有定义:int x=1,y=2;float a=3.7,b=2.1;则(x+y)%2+(int)a/(int)b表达式的值为( )。

考题 若有定义“int a=5,b=7;”,则表达式a%-(b%2) 运算后,a的值为( )。A.0B.1C.11S 若有定义“int a=5,b=7;”,则表达式a%-(b%2) 运算后,a的值为( )。A.0B.1C.11D.3

考题 若有定义:int a=6,b=2;charc1=’a’,c2=’b’;则表达式a+b%5+c2-c1的值是() A.7B.8C.9D.表达式错误

考题 若有定义:int a=5,b=2,c=1;则表达式a-b A.0B.1C.3D.-1

考题 若有定义:int i=2,j=5;则表达式(i+1,j+1,(++i+(j--))的值为() A.8B.6C.7D.5

考题 若有定义:int i=1,j=5;则表达式(++j)*(i--)的值为() A.1B.0C.6D.7

考题 若有定义:int x=5,y=6;则表达式x=(y==6)的值为() A.5B.1C.6D.0

考题 若有定义语句:int a=3,b=2,c=1;,则表达式a<b?a:b的值是【 】。

考题 若有以下定义,则对a数组元素的正确引用是( )。int a[5],*p=a;A)*a[5]B)*a 1C)*(p 5)D)*(a 2)

考题 若有定义int a=9,b=6;则aA、0B、1C、falseD、true

考题 若有定义int a=9,b=6;ab的值是()。A、0B、1C、falseD、true

考题 若有定义:int x=3,y=4;则表达式!x||y的值为()A、1B、0C、3D、4

考题 若有定义:int i=2,j=5;则表达式(i+1,j+1,(++i+(j--))的值为()A、8B、6C、7D、5

考题 若有定义:int a=6,b=2;charc1=’a’,c2=’b’;则表达式a+b%5+c2-c1的值是()A、7B、8C、9D、表达式错误

考题 若有定义:inta[3]={0,1,2};则a[1]的值为()A、0B、1C、2D、3

考题 若有定义:int x=5,y=6;则表达式x=(y==6)的值为()A、5B、1C、6D、0

考题 已知int i=0,j=1,k=2;则逻辑表达式++i || --j ++k的值为()A、0B、1C、2D、3

考题 设a,b和c都是int型变量,且a=3,b=4,c=5,则下列表达式中,值为0的表达式是() A、0B、1C、2D、3

考题 表达式Int(-5.5)+Fix(7.99)是()。A、0B、1C、2D、3

考题 单选题若有定义:int i=2,j=5;则表达式(i+1,j+1,(++i+(j--))的值为()A 8B 6C 7D 5

考题 单选题若有定义:int a=6,b=2;charc1=’a’,c2=’b’;则表达式a+b%5+c2-c1的值是()A 7B 8C 9D 表达式错误

考题 单选题若有定义:int a=5,b=2,c=1;则表达式a-b A 0B 1C 3D -1