• 2022-05-28
    写出以下程序的输出结果( ) #include [stdio.h]main(){ char s1[30]="this book",s2[30]="that hook"; int i; for(i=0;s1[i]!= '\0'&& s2[i]!= '\0';i++) if(s1[i]==s2[i]) printf("%c",s1[i]); printf("\n");}[/i][/i][/i][/i][/i]
    A: th
    B: ook
    C: th ook
    D: this
  • 举一反三