問題詳情
31.s12和s2已正确定义并分别指向两个字符串。若要求:当s1所指串大于s2所指串时,执行语句S;则以下选项中正确的是
(A)if(s1>s2)S;
(B)if(strcmp(s1,s2))S;
(C)if(strcmp(s2,s1)>0)S;
(D)if(strcmp(s1,s2)>0)S;资料来源:东方教育网全国计算机等级考试频道 Http://www.eastedu.com.cn
(A)if(s1>s2)S;
(B)if(strcmp(s1,s2))S;
(C)if(strcmp(s2,s1)>0)S;
(D)if(strcmp(s1,s2)>0)S;资料来源:东方教育网全国计算机等级考试频道 Http://www.eastedu.com.cn
參考答案
答案:D
難度:非常困難0
統計:A(0),B(1),C(0),D(0),E(0)
內容推薦
- (A) means (B) ends (C) begins (D) proves Ks5u
- What Miss Gao said suggests that(A) she likes to blame the authorities (B) she has a sense o
- 有以下说明和定义语句 struct student { int age; char num[8];}; struct student stu[3]={{20,"200401
- 有以下程序 main() { int a=7,b=8,*p,*q,*r; p=&a;q=&b; r=p; p=q;q=r; printf("%d,%d,%d,%dn
- (A) talked about (B) cared about (C) wrote about (D) heard about
- (A) perform (B) write (C) hear (D) question Ks5u
- Which of the following is TRUE according to the passage?(A) Chinese students won most of the
- 有以下程序 void fun(int *a,int i,int j) { int t; if(i<J) { t=a;a=a[j];a[j]=t; i++; j--;
- 在函数调用过程中,如果函数funA调用了函数 funB,函数funB又调用了函数funA,则 (A)称为函数的直接递归调用 (B)称为函数的间接递归调用 (C)称为函数的循环调用 (D)C
- 若有以下说明和语句,int c[4][5],(*p)[5];p=c;能正确引用c数组元素的是(A)p+1 (B)*(p+3)(C)*(p+1)+3 (D)*(p[0]+2])
內容推薦
- 48~以下程序的功能是:建立一个带有头结点的单向链表,并将存储在数组中的 字符依次转储到链表的各个结点中,请从与下划线处号码对应的一组选若中选择出 正确的选项。 #includ
- The passage in mainly about(A) how Chinese students won the awards in the competition(B) why
- 以下叙述中正确的是(A)局部变量说明为static存储数,其生存期将得到延长(B)全局变量说明为static存储类,其作用域将被扩大(C)任何存储类的变量在未赋初值时,其值都是不确定的(D)形参
- (A)*s (B)s (C)*s++ (D)(*s)++
- BForeign drivers will have a pay on-the-spot fines of up to £900 for breaking the traffic law to be
- 有以下程序 #include main() {int a[]={1,2,3,4,5,6,7,8,9,10,11,12,},*p=a+5,*q=NULL; *q=*(p+5);
- (A) study (B) design (C) committee (D) staff
- 设有定义语句:char c1=92,c2=92;,则以下表达式中值为零的是 (A)c1^c2 (B)c1&c2 (C)~c2 (D)c1|c2
- (A)p->next (B)p (C)s (D)s->next
- The foreign drivers who break the traffic law and do not pay on the spot are likely to be fo
- (A) provide (B) retell (C) support (D) refuse Ks5u
- (A) much (B) many (C) little (D) few
- 下列各組「」內的字音,前後相同的是:(A)苟延殘「喘」/「惴」惴不安 (B)頭暈目「眩」/光彩「炫」耀(C)「詆」毀名譽/胼手「胝」足 (D)相形見「絀」/「拙」嘴笨腮
- We can learn from the passage that .(A) many foreign drivers have been fined by Britain poli
- 有以下程序 mina() { int x[]={1,3,5,7,2,4,6,0},i,j,k; for(i=0;i=i;j--) if(x[j+1]>x[j]){ k=x[
- (A) needs (B) activities (C) judgments (D) habits Ks5u
- The new traffic law is mainly intended to .(A) limit the number of foreign vehicles entering
- (A) that (B) what (C) which (D) whom Ks5u
- C14 days from just £2,090 ppFully inclusive from the UKPrice covers, international airfares, departu
- The first and last scenic spots to he visited in Xi’an are .(A) the Terracotta Warriors and
- 1 依稅捐稽徵法規定,中華民國境內居住之個人或在中華民國境內之營利事業,其已確定之應納稅捐逾法定繳納期限尚未繳納完畢,所欠繳稅款及已確定之罰鍰單計或合計達新臺幣多少金額以上者,得予限制其出境?(A)個
- Which of the following is TRUE according to the ad ?(A) The tourists will have to pay extra
- The ad is mainly intended to .(A) encourage the British to travel in China(B) attract the Br
- 8.He invited me to a dance after the show____ Christmas Eve.(A)at (B)on (C)in (D)by
- DFind Which Direction Is SouthDo you have a good sense of direction? If not, please take with you a