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