请读程序: #include <stdio.h> #include <strin
题型:单项选择题
问题:
请读程序:
#include <stdio.h>
#include <string.h>
main()
char *s1="AbCdEf", *s2="aB";
s1++; s2++;
printf("%d\n",strcmp(s1,s2));
上面程序的输出结果是( )。
A.正数
B.负数
C.零
D.不确定的值
请读程序:
#include <stdio.h>
#include <string.h>
main()
char *s1="AbCdEf", *s2="aB";
s1++; s2++;
printf("%d\n",strcmp(s1,s2));
上面程序的输出结果是( )。
A.正数
B.负数
C.零
D.不确定的值