![](https://lstatic.shangxueba.com/sxbzda/h5/images/m_q_title.png)
char str1[8],str2[]=”Changsha”; strcpy(str1,"Wuhan”); 以下语句错误的是()。
A.if(str1[]>str2[]) printf(”yes”);
B.if(strcmp(“Wuhan”,str2)>0) printf(”yes”);
C.if(strcmp(“Wuhan”,”Changsha”)>0) printf(”yes”);
D.if(strcmp(str1,str2)>0) printf(”yes”);
![](https://lstatic.shangxueba.com/sxbzda/h5/images/tips_org.png)
A.if(str1[]>str2[]) printf(”yes”);
B.if(strcmp(“Wuhan”,str2)>0) printf(”yes”);
C.if(strcmp(“Wuhan”,”Changsha”)>0) printf(”yes”);
D.if(strcmp(str1,str2)>0) printf(”yes”);
第1题
A.strcpy(str1,"HELLOI");
B.strcpy(str2,"HELLO2");
C.strcpy(str3,"HELLOY");
D.strcpy(str4,"HELLO4");
第2题
A.strcpy(str1,"Hellol");
B.strcpy(str2,"Hello2");
C.strcpy(str3,"Hello3");
D.strcpy(str4,"Henllo4");
第3题
A.strcpy(str1,"Hello1");
B.strcpy(str2,"Hello2");
C.strcpy(str3,"Hello3");
D.strcpy(str4,"Hell04");
第4题
A.strcpy (str1,"Hello1");
B.strcpy(str2, "Hello2");
C.strcpy(str3, "Hell03");
D.strcpy(str4, "Hell04");
第5题
A.12
B.11
C.7
D.5
第6题
A.strcpy(strl,"people");
B.strcpy(str2,"people");
C.strcpy(str3,"people");
D.strcpy(str4,"people");
第7题
A.strcpy(str1,"HELLO1");
B.strcpy(str2."HELLO2");
C.strcpy(str3."HELLO3");
D.strcpy(str4."HELLO4");
第8题
A.strcpy(str 1,"HELLO1");
B.strcpy(str2,"HELLO2");
C.strcpy(str3,"HELLO3");
D.strcpy(str4,"HELLO4");
第9题
A.strcpy(str1,"HELLO1");
B.strcpy(str2,"HELLO2");
C.strcpy(str3,"HELLO3");
D.strcpy(str 4,"HELLO4");
第10题
A、str1=”China”;
B、str1=str2;
C、strcpy(str1,str2);
D、以上均不正确。
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!