• 2022-07-28
    下述语句中,在字符串s1和s2相等时显示"theyareEqual"的是()。
    A: if(*s1==*s2)puts("theyareEqual");
    B: if(!strcmp(s1,s2))puts("theyareEqual");
    C: if(s1==s2)puts("theyareEqual");
    D: if(strcmp(s1,s2))puts("theyareEqual");