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

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

若有定义:inta[3]={0,1,2};则a[1]的值为()

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

参考答案

更多 “若有定义:inta[3]={0,1,2};则a[1]的值为()A、0B、1C、2D、3” 相关考题
考题 若有定义语句:inta=3,b=2,c=1;,则表达式b<b?a:b的值是______。

考题 若有定义inta[][3]={1,2,3,4,5,6,7,8,9};则表达式sizeof()/sizeof(a[0])的值为() A.3B.4C.5D.9

考题 若有定义:inta[3][3];则表达式&a[2][1]-a的值为() A.7B.8C.6D.9

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

考题 若有定义:inta[5]={1,2,3,4,5};则语句a[1]=a[2]+a[2+2]-a[3-1];运行后a[1]的值为() A.6B.5C.1D.2

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

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

考题 语句a=(3/4)+3%2;运行后,a的值为()A、0B、1C、2D、3

考题 若有定义:inta[3][3];则表达式a[2][1]-a的值为()A、7B、8C、6D、9

考题 在Java中, 类Animal中的方法printA()定义如下: publicvoidprintA(){ inta=10; intresult=10%3; System.out.println(result);} 在类Dog中方法printA()定义如下: publicvoidprintA(){ inta=10; System.out.println(a/3);} Dog类的定义如下: classDogextendsAnimal{…}.Animalanimal=newDog();animal.printA(); 以上语句输出为()。A、0B、1C、2D、3E、3.3333

考题 若有定义:inta,b;doublex;则以下不符合C语言语法的表达式是()A、x%(-3)B、a+=-1C、a=b=2D、x=a+b

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

考题 若有定义:inta[5]={1,2,3,4,5};则语句a[1]=a[2]+a[2+2]-a[3-1];运行后a[1]的值为()A、6B、5C、1D、2

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

考题 若有定义inta[][3]={1,2,3,4,5,6,7,8,9};则表达式sizeof()/sizeof(a[0])的值为()A、3B、4C、5D、9

考题 简单组合框的style值为().A、0B、1C、2D、3

考题 静态路由的花费值为()。A、0B、1C、2D、3

考题 max([0,1,2,3])的值为()A、0B、1C、2D、3

考题 len(’abc’)的值为()A、0B、1C、2D、3

考题 y=3-3//2,则x的值是()A、0B、1C、2D、3

考题 inta[2][3]={{1},{2,3}};,则a[1][0]的值是()。A、0B、1C、2D、3

考题 若没有分配Kc,则CSKN的值是()A、0B、1C、2D、3E、4

考题 单选题若有定义inta[][3]={1,2,3,4,5,6,7,8,9};则表达式sizeof()/sizeof(a[0])的值为()A 3B 4C 5D 9

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

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

考题 单选题若有定义:inta[5]={1,2,3,4,5};则语句a[1]=a[2]+a[2+2]-a[3-1];运行后a[1]的值为()A 6B 5C 1D 2

考题 单选题若有定义:inta[3][3];则表达式a[2][1]-a的值为()A 7B 8C 6D 9