【单选题】【消耗次数:1】
不是给数组的第一个元素赋值的语句是()
inta[2]={1}
inta[2]={1*2}
inta[2];scanf(%d,a)
a[1]=1
参考答案:
复制
纠错
➡️如需代学继续教育,联系微信:yizhituziang

相关题目
【单选题】 在执行inta[][3]={{1,2},{3,4}};语句后a[1][2]的值是()
①  3
②  4
③  0
④  2
【单选题】 已知inta[4][4]={{1,2},{3},{4},{1,2,3}};问a[2][0]该元素的值是()
①  2
②  3
③  4
④  1
【单选题】 若有定义:inta=1,b=2,c=3,d=4,t=2,k=2;语句(t=ab)||(k=c运行后,k的值为()。
①  2
②  1
③  0
④  -1
【单选题】 若已定义inta=5;下面对(1)int*p=&a;(2)*p=a;两个语句的正确解释是()
①  语句(1)和(2)中的*P含义相同,都表示给指针变量p赋值
②  语句(1)和语句(2)的执行结果,都是把变量a的地址值赋给指针变量p
③  语句(1)在对p进行说明的同时进行初始化,使p指向a,语句(2)将变量a的值赋给指针变量p
④  语句(1)在对p进行说明的同时进行初始化,使p指向a,语句(2)将变量a的值赋于*p
【单选题】 设:inta=1,b=2,c=3,d=4,m=2,n=2;执行(m=a>b)&&(n=c>d)后n的值为()。
①  1
②  2
③  3
④  4
【单选题】 以下程序的运行结果是()。intfun(inta[4][4]){inti;for(i=0;ii++)printf("%2d",a[i][2]);printf("\n");}main(){inta[4][4]={1,1,2,2,1,9,0,0,2,4,0,0,0,5,9,8};fun(a);}
①  1905
②  2000
③  2008
④  2009
【单选题】 已知:inta[][3]={1,2,3,4,5,6,7,8,9,0};则数组a的第一维的大小是()
①  2
②  3
③  4
④  无法确定;
【单选题】 inta=1,b=2,c=3; if(a>b)a=b; if(a>c)a=c; 则a的值为().
①  1
②  2
③  3
④  不一定
【单选题】 若有说明:inta[][3]={{1,2,3},{4,5},{6,7}};则数组a的第一维的大小为:()。
①  2
②  3
③  4
④  无确定值
【单选题】 若已定义inta=3,b=2,c=1;则语句++a||++b&&++c;运行后b的值为()。
①  0
②  3
③  1
④  2
随机题目
【单选题】 Let’snotwaitanylonger,hemightnot________atall
①  turnup
②  turnover
③  turnon
④  turndown
【单选题】 Oh,God,itslate.Ivegottogo..Hopetoseethemsoon.
①  Giveyourparentsmygreetings
②  Remembermetoyourparents
③  Showmygreetingstoyourparents
④  Sayhellotoyourparents
【单选题】 Everyoneofushas_____computer;______computeris____brain
①  a/a/the
②  a/the/the
③  the/a/a
④  a/a/a
【单选题】 Myjobinthishotelisto____diner.
①  announce
②  have
③  proclaim
④  claim
【单选题】 Doyouagreetobe____withXiaoWanginthegame?
①  apair
②  acouple
③  bepaired
④  beassigned
【单选题】 Bytheendoflastmonth,he________oneofthebestchildrenintheclass
①  hasbecome
②  hadbecame
③  became
④  hadbecome
【单选题】 Whenwesawhisface,weknew_____wasbad
①  thenews
②  somenews
③  anews
④  news
【单选题】 Theprofessorsandexpertsheldaconferenceintheacademiccenteroftheuniversitytodiscussabouthowto_____theproceedings.
①  compose
②  compile
③  communicate
④  compare
【单选题】 IhavebeenbusyworkingforalongtimesoIneedto______inthisNationalDayHolidayandenjoytime.
①  winddown
②  windup
③  settledown
④  getup
【单选题】 Hello,I’mHarryPotter.Hello,mynameisCharlesGreen,but_______.
①  callmyCharles
②  callmeatCharles
③  callmeCharles
④  callCharlesme