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

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

下列语句中,在字符串s1和s2相等时显示"they are Equal"的是( )。

A.if(*s1==*s2)

B.if(!strcmp(s1,s2)) puts("they are Equal"); puts("they are Equal");

C.if(s1==s2)

D.if(strcmp(s1,s2)) Puts("they are Equal"); puts("they are Equal");


参考答案

更多 “ 下列语句中,在字符串s1和s2相等时显示"they are Equal"的是( )。A.if(*s1==*s2)B.if(!strcmp(s1,s2)) puts("they are Equal"); puts("they are Equal");C.if(s1==s2)D.if(strcmp(s1,s2)) Puts("they are Equal"); puts("they are Equal"); ” 相关考题
考题 下列语句中,在字符串s1和s2相等时显示"they are Equal"的是( )。A.if(*s1==*s2) puts("they are Equal");B.if(!strcmp(s1,s2)) puts("they are Equal");C.if(s1==s2) Puts("they are Equal");D.if(strcmp(s1,s2) ) puts("they are Equal");

考题 判断字符串s1是否大于字符串s2,应该使用()。A.if(strcmp(s1,s2)s2)C.if(strcmp(s2,s1) 判断字符串s1是否大于字符串s2,应该使用( )。A.if(strcmp(s1,s2)<0)B.if(s1>s2)C.if(strcmp(s2,s1)<0)D.if(strcmp(s1,s2))

考题 判断字符串s1是否大于字符串s2,应该使用( )。A.if(strcmp(s1,s2)s2)C.if(strcmp(s2,s1 判断字符串s1是否大于字符串s2,应该使用( )。A.if(strcmp(s1,s2)<0)B.if(s1>s2)C.if(strcmp(s2,s1)<0)D.if(strcmp(s1,s2))

考题 下述语句中,在字符串s1和s2相等时显示"they are Equal"的是( )。A.if(*s1=*s2) puts("they are Equal");B.if(!strcmp(s1,s2)) puts("they are Equal");C.if(s1==s2) puts("they are Equal");D.if(strcmp(s1,s2)) puts("they are Equal");

考题 下述语句中,在字符串sl和s2相等时显示“they are Equal”的是( )。A.if(*s1==*s2) puts("they are Equal");B.if(!strcmp(s1,s2)) puts("they are Equal");C.if(s1==s2) Puts("they are Equal");D.if(strcmp(s1,s2)) puts("they are Equal”);

考题 下列语句中,在字符串s1和s2相等时显示“they are Equal”的是( )。A.if(*s1==*s2) puts("they are Equal");B.if(!strcmp(s1,s2)) puts("they are Equal");C.if(s1==s2) Puts("they are Equal");D.if(strcmp(s1,s2)) puts("they are Equal");

考题 下列语句中,在字符串s1和s2相等时显示“they are Equal”的是( )。A.if(*s1==*s2)B.if(!strcmp(s1,s2)) puts("they are Equal"); puts("they are Equal");C.if(s1==s2)D.if(strcmp(s1,s2)) Puts("they are Equal"); pros("they are Equal");

考题 判断字符串S1是否大于字符串S2,应当使用()。A.if(S1>S2)B.if(strcmp(S1,S2))C.if(strcmp(S1,S2)>0)D.if(strcmp(S2,S1)>0)

考题 下述语句中,()可以在字符串s1和s2相等时显示"Equal."。A.if(!strcmp(s1,s2)) puts(“Equal.”);B.if(s1==s2) puts(“Equal.”)C.if(*s1==*s2) puts(“Equal.”)D.if(strcmp(s1,s2)) puts(“Equal.”);