题目内容:
下述语句中,在字符串 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");
参考答案:
答案解析: