下列程序的运行结果是()。 include main() {static char a[]="Languagef",b[]="program 下列程序的运行结果是( )。#include<stdio.h>main(){ static char a[]="Languagef",b[]="programe";Char*p1,*p2;int k;p1=a;p2=b;for(k=0;k<=8;k++)if(*(p1+k)==*(p2+k))printf("%c",*(p1+k));}A.gaeB.angC.programD.有语法错
下列程序的运行结果是()。 include main() {static char a[]="Languagef",b[]="program
下列程序的运行结果是( )。
#include<stdio.h>
main()
{ static char a[]="Languagef",b[]="programe";
Char*p1,*p2;int k;
p1=a;p2=b;
for(k=0;k<=8;k++)
if(*(p1+k)==*(p2+k))printf("%c",*(p1+k));
}
A.gae
B.ang
C.program
D.有语法错
相关考题:
下面程序的运行结果是includemain(){static char a[]="Languagef",b[]="programe";cha 下面程序的运行结果是 #include<stdio.h> main() { static char a[]="Languagef" ,b[]="programe"; char *p1,*p2; int k; p1=a;p2=b; for(k=0;k<=7;k++) if(*(p1+k)==*(p2+k)) printf("%c",*(p1+k));}A.gaeB.gaC.LanSuageD.有语法错
有以下程序:includevoid fun(char**p){++P;printf("%s\n",*p);}main()char*a[]={"Morn 有以下程序: #include<stdio.h> void fun(char**p) { ++P;printf("%s\n",*p);} main() char*a[]={"Morning","Afternoon","Evening","Night"}; fun(A); } 程序的运行结果是( )。A.AfternoonB.fternoonC.MorningD.oring
下列程序的运行结果是()。includeincludemain(){char*s1="abDuj"; char*s2= 下列程序的运行结果是( )。 #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 include main() {char*s1="abDuj"; char 下列程序的运行结果是( )。#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.不确定的值
下面程序的运行结果是()。includemain(){ static char a[]="Languagef",b[]=" programe 下面程序的运行结果是( )。 #include<stdio.h> main() { static char a[]="Languagef" ,b[]=" programe"; char*p1,*p2;int k; p1=a;p2=b; for(k=0;k<=7;k++) if(*(p1+k)==*(p2+k)) printf("%c",*(p1+k));}A.gaeB.gaC.LanguageD.有语法错
下列程序的运行结果是()。inCludemain(){static char a[]="Languagef",b[]="programe"; 下列程序的运行结果是( )。 #inClude<stdio.h> main() { static char a[]="Languagef",b[]="programe"; Char*p1,*p2;int k; p1=a;p2=b; for(0;k<=8;k++) if(*p1+k)==*(p2+k))printf("%c",*(p1+k)); }A.gaeB.angC.programD.有语法错
下列程序的运行结果是()。includemain(){static chara[]="Languagef",b[]="programe"; 下列程序的运行结果是( )。 #include<stdio.h> main() { static chara[]="Languagef",b[]="programe"; char *p1,*p2;int k; p1=a;p2=b; for(k=0;k<=8;k++) if(*(p1+k)==*(p2+k))printf("%c",*(p1+k)); }A.gaeB.angC.programD.有语法错
下列程序的运行结果是()。includemain(){ static char a[]="Languagef",b[]="programe" 下列程序的运行结果是( )。 #include<stdio.h> main() { static char a[]="Languagef",b[]="programe"; char *p1,*p2;int k; p1=a;p2=b; for(k=0;k<=8;k++) if(*(p1+k)==*(p2+k))printf("%c",*(p1+k)); }A.gaeB.angC.programD.有语法错
下面程序的运行结果是 ( ) include include main( ) { char * a=" 下面程序的运行结果是 ( ) # include<stdio.h> # include<string.h> main( ) { char * a="AbcdEf",* b="aBcD" a + +;b + +; printf("%d\n",strcmp(a,b)); }A.0B.负数C.正数D.无确定值