请读程序:includeincludemain(){char *s1="AbCdEf",*s2="aB"; s1++;s2++; 请读程序: #include<stdio.h> #include<string.h> main() { char *s1="AbCdEf",*s2="aB"; s1++;s2++; printf("%d\n",strcmp(s1,s2)); } 上面程序的输出结果是______。A.正数B.负数C.零D.不确定的值
请读程序:includeincludemain(){char *s1="AbCdEf",*s2="aB"; s1++;s2++;
请读程序: #include<stdio.h> #include<string.h> main() { char *s1="AbCdEf",*s2="aB"; s1++;s2++; printf("%d\n",strcmp(s1,s2)); } 上面程序的输出结果是______。
A.正数
B.负数
C.零
D.不确定的值
相关考题:
有以下程序并includeincludefun(char * w,int n){char t,*s1,*s2; s1=w;s2= 有以下程序 并include<stdio.h> #include<string.h> fun(char * w,int n) { char t,*s1,*s2; s1=w; s2=w+n-1; while(s1<s2) { t=*s1++; * s1=*s2--; * s2=t; } } main() { char p[]="1234567"; fun(p,strlen(p)); puts(p); } 程序运行后的输出结果是( )A.1234567B.7654321C.1711717D.7177171
以下程序的输出结果是______。includeincludefun(char*w,int n){ char t,*s 以下程序的输出结果是______。 #include<stdio.h> #include<string.h> fun(char*w,int n) { char t,*s1,*s2; s1=w;s2=w+n-1; while(s1<s2) { t=*s1++; *s1=*s2-; *s2=t; } } main() { char*p; p="1234567"; fun(p,strlen(p)); puts(p); }A.1234567B.7654321C.1711717D.7177171
请读程序:includeincludemain(){char*s1="AbCdEf',*s2="aB"; s1++;s2++; p 请读程序: #include<stdio.h> #include<string.h> main() { char*s1="AbCdEf',*s2="aB"; s1++;s2++; printf("%d\n",strcmp(s1,s2)); } 上面程序的输出结果是_______。A.正数B.负数C.零D.不确定的值
请读程序:includeincludemain(){char*s1="AbCdEf",*s2="aB"; s1++;s2++; p 请读程序: #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 include fun(char *w ,int 下列程序运行后,输出结果是______。 #include <stdio. h> #include <string. h> fun (char *w ,int n) { char t,*s1,*s2; s1=w; s2=w+n-1; while (s1<s2) { t=*s1++; *s1=*s2--; *s2=t; } } main () { char *p; p="1234567"; fun (p, strlen (p)); puts (p); }A.1234567B.7654321C.1711717D.7177171
请读程序:includeincludemain(){char*s1="AbCdEf",*s2="aB";s1++;s2++;pri 请读程序: #include<stdio.h> #include<string.j> main() { char*s1="AbCdEf",*s2="aB"; s1++;s2++; printf("%d\n",strcmp(s1,s2)); }上面程序的输出结果是______。A.正数B.负数C.零D.不确定的值
请读程序:includeincludemain(){char*s1="AbCdEf",*s2="aB";s1++;s2++;pri 请读程序: #include<stdio.h> #include<string.h> main() { char*s1="AbCdEf",*s2="aB"; s1++;s2++; printf("%d\n",strcmp(s1,s2)); } 上面程序的输出结果是_______。A.正数B.负数C.零D.不确定的值
请读程序:includeincludemain(){ char*s1="AbCdEf","*s2="aB";s1++;s2++;p 请读程序:#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 include fun(char*w,int n) { char 下面程序的运行结果是______。 #include<stdio.h> #include<string.h> fun(char*w,int n) { char t,*s1,*s2; s1=w;s2=w+n-1; while(s1<s2) {t=*s1++;*s1=*s2--;*s2=t;} } main() { char*p; p="1234567"; fun(p,strlen(p)); puts(p); }A.7654321B.1714171C.1711717D.7177171