单选题 C语言
题号 #2253806

若输入“abcdef”“abdef”,下述程序的输出结果为(    )。
#include<stdio.h>
#include<string.h>
main()
{  int n;
char s1[20],s2[20],*p1,*p2;
scanf("%s",s1);
scanf("%S",s2);
p1=s1;
p2=s2;
n=strcmp(p1,p2);
printf("Vood\n",n);
}

进入在线模考

参考答案

A

答案解析


你可能感兴趣的试题

找试题 · 找答案 · 找资料 在线模考