下述程序的运行结果是( )。 #include<stdio.h> #inclu
题型:单项选择题
问题:
下述程序的运行结果是( )。
#include<stdio.h>
#include<string.h>
main()
char*s1="abDuj";
char*s2="ABdUG":
int t;
t=strcmp(s1,s2);
printf("%d",t);
A.正数
B.负数
C.零
D.不确定的值
下述程序的运行结果是( )。
#include<stdio.h>
#include<string.h>
main()
char*s1="abDuj";
char*s2="ABdUG":
int t;
t=strcmp(s1,s2);
printf("%d",t);
A.正数
B.负数
C.零
D.不确定的值