网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
请读程序: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.不确定的值 ” 相关考题
考题 以下程序的输出结果是______。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++; 请读程序: #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

考题 以下程序的输出结果是_______。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++: *sl=*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