【单选题】【消耗次数:1】
若有定义:inta[3][4];则表达式a[2][1]-a的值为()。
7
8
9
10
参考答案:
复制
纠错
相关题目
【单选题】 若有定义:int a[3][4];则表达式&a[2][1]-a的值为()。
①  7
②  8
③  9
④  10
【单选题】 若有定义:inta;且表达式!a的值为0,则表达式()的值为1。
①  a!=0
②  a==0
③  a=0
④  !(a0||a0)
【单选题】 若有定义:inta=3,b=2,c=1,k;则表达式k=ac的值是()。
①  0
②  1
③  2
④  3
【单选题】 若有定义:inta=5,b=2;则表达式b=(a!=5)的值为()。
①  5
②  0
③  3
④  2
【单选题】 若有以下说明,int?a[12]={1,2,3,4,5,6,7,8,9,10,11,12};?则数值为4的表达式是()
①  a[4]
②  a(3)
③  a[3+1]
④  a[4]-a[0]
【单选题】 若有定义:inta=7;floatx=2.5,y=4.7;则表达式x+a%3*(int)(x+y)%2/4的值是()。
①  2.75
②  0.0
③  3.5
④  2.5
【单选题】 若有a=2,b=3,则表达式++a==b的值为()
①  0
②  1
③  6
④  3
【单选题】 若定义inta=-5,b=-8,c=-12;则表达式a=b||bc的值为()。
①  变量i的值
②  变量j的值
③  0
④  1
【单选题】 若有定义:inta;则表达式(B)不能用来判断a值为奇数是“真”,偶数是“假”。
①  a%2==1
②  !(a%2)
③  a%2
④  !(a%2==0)
【单选题】 若有定义:int a=3,b=2,c=1;并有表达式:①a%b,②a>b>c,③b&&c+1,④c+=1,则表达式值相等的是()。
①  ①和②
②  ②和③
③  ①和③
④  ③和④
随机题目
【单选题】 8.They made a______ decision, which later led to the collapse of the economy.
①  lucky
②  . fateful
③  indebted
④  . good
【单选题】 2.At night, he _______ me all his secrets.
①  confided to
②  confided from
③  confided with
④  confided for
【单选题】 25. She put an extra blanket over the baby for fear that____.
①  he catches cold
②  he should catch cold
③  he caught cold
④  . he be catching cold
【单选题】 10. Luckily, the house ______ the storm.
①  lived
②  . survived by
③  survived
④  was survived by
【单选题】 1. The authors purpose of writing
①  To describe a planes jolt
②  To tell the readers a story about the lightning.
③  To narrate the authors personal experience during an accident.
【单选题】 12.Most _______residents tried to seek protection in the local hospitals.
①  paniced
②  panicked
③  panic
④  panicking
【单选题】 3.My grandma is ______ good health.
①  blessed with
②  blessed about
③  blessing with
④  blessing out
【单选题】 22.The sight of the fruit salad made our daughter Kit’s mouth ____.
①  wet
②  water
③  soak
④  taste
【单选题】 20. He talks as if he _____the manager here.
①  were
②  is
③  will be
④  has been
【单选题】 14. A: The box is heavy. B:I _______carry it for you.
①  will
②  am going to
③  may
④  . must