有以下程序 point(char *p) { p+=3; } main() { char b[4]={'a'.'b','c','d'}, *p=b; point(p); printf("%c\n",*p); } 程序运行后的输出结果是A.aB.bC.cD.d

有以下程序 point(char *p) { p+=3; } main() { char b[4]={'a'.'b','c','d'}, *p=b; point(p); printf("%c\n",*p); } 程序运行后的输出结果是

A.a

B.b

C.c

D.d


相关考题:

下面程序段的运行结果是char *p="abcdefgh";p+=3;printf("%d\n",strlen(strcpy(p,"ABCD")));A.8B.12C.4D.7

有以下程序:point(char*p) { *p=’d’; }main(){ char b[4]={’a’,’b’,’c’,’d’},*p=b; Point(p); printf("%c\n",*p);}程序运行后的输出结果是( )。A.a B.b C.c D.d

有以下程序: main() { char *p[10]={"abc","aabdfg","dcdbe","abbd","cd"); printf("%d\n", strlen(p[4])); } 执行后输出结果是( )。A.2B.3C.4D.5

有以下程序: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

有以下程序:void funl(char*p){ char*q;q=P;while(*q!=\O){(*q)++;q++;}}main{ char a[]={Program),*P;p=&a[3];funl(p);printf(%s\n,a);}程序执行后的输出结果是( )。A.ProhsbnB.PrphsbnC.ProgsbnD.Program

有以下程序: include point ( char * p) {p + = 3; }main( ) char b[4] = {'a','b','c 有以下程序: #include <stdio.h>point ( char * p) { p + = 3; }main( ) char b[4] = {'a','b','c','d'} , *p=b; point(p); printf( "% c \n" , * p);A.aB.bC.cD.d

有以下程序 main () { char p[]={'a','b','c},q[] ="abc"; printf ( "%d %d\n" , sizeof (p) , sizeof (q)); } 程序运行后输出结果是A.4 4B.3 3C.3 4D.4 3

下面程序段的运行结果是( )。 char a[]="abcdefgh"; char *p=a; p+=3; printf("%d\n",strlen(strcpy(p,"ABCD")));A.8B.12C.4D.7

有以下程序 include void fun(char **p) { ++p; printf("%s\n",*p); 有以下程序 #include <stdio.h> void fun(char **p) { ++p; printf("%s\n",*p); } main() { char *a[]={"Moming","Afternoon","Evening","Night"}; fun(a); } 程序的运行结果是A.AfternoonB.fternoonC.MorningD.orning

有以下程序: include main( ) {char s[ ] ="159" , * p;p=s;printf( "% c", * p + + 有以下程序: #include <stdio.h> main( ) { char s[ ] ="159" , * p; p=s; printf( "% c", * p + + ); printf("%~", * p++);}程序运行后的输出结果是( )。A.15B.16C.12D.59

下面程序段的运行结果是char *p="abcdefgh";p+=3;printf("%d\n",strlen(strcpy(P,"ABCD"))); A.8 B.12 C.4 D.7

有以下程序includemain(){char *p=“abcde、Ofghjik\0”;printf(“%d\n”,strlen(p));} 程 有以下程序 #include<string.h> main() { char *p=“abcde、Ofghjik\0”; printf(“%d\n”,strlen(p)); } 程序运行后的输出结果A.12B.15C.6D.5

有以下程序: point(char *p){p+=3;} main() {char b[4]={'a','b','c','d',},*p=b; point(p);printf("%c\n",*p); } 程序运行后的输出结果是 ______。A.aB.bC.cD.d

下列程序的输出结果是( )。 char*point(char*pt): main { char b[4]={a,c,s,f),*pt=b; pt=point(pt); printf("%c\n",*pt); } point(char*p) { p+=3; return p; }A.sB.cC.fD.a

有以下程序:includemain(){char *p="abcde\Ofghjik\0";printf("%d\n",strlen(p));}程 有以下程序: #include <string.h> main() {char *p="abcde\Ofghjik\0"; printf("%d\n",strlen(p)); } 程序运行后的输出结果是( )。A.12B.15C.6D.5

下列程序的输出结果是( )。 point(char*pt); main() { char b[4]{'a','c','s','f'},*pt=b; pt=point(pt); printf("%c\n",*pt); } point(char*p) { p+=3; return p; }A.sB.cC.fD.a

下列程序的执行结果是______。 point (char *pt); main ( ) { char b[4]={ 'a', 'c', 's', 'f' },*pt=b; point (pt); printf ("%c\n", *pt); } point (char*p) { p+=3; }A.sB.cC.fD.a

有以下程序main(){ int a[10]={1,2,3,4,5,6,7,8,9,10},*p=a[3],*q=p+2;printf("%d\n",*p+*q);}程序运行后的输出结果是

有以下程序include.main(){char*p="abcde\ofghjik\0";printf("%d\n",strlen(p));} 程 有以下程序 #include.<string.h> main() { char *p="abcde\ofghjik\0"; printf("%d\n",strlen(p)); } 程序运行后的输出结果是A.12B.15C.6D.5

有以下程序: main() {int a=[10]{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, *p=a[3], *q=p+2; printf("% d\n", *p+*q); } 程序运行后的输出结果是______。A.16B.10C.8D.6

下列程序的输出结果为______。 main ( ) { int p, y=0, x=0; p=x>8; printf("%d",p); p+ 下列程序的输出结果为______。 main ( ) { int p, y=0, x=0; p=x<<8 | ~y>>8; printf("%d ",p); p+=(p+=2); printf("%d\n",p); }A.-1 0B.0 0C.0 4D.-1 2

以下程序段的输出结果是______。 char *p="abodefgh"; p+=3; printf("%d\n",strlen(strcpy(p,"12345")));A.8B.12C.5D.7

有以下程序: include main( ) { char *p="abcde\0ghjik\0"; printf("%d\n",str 有以下程序: #include<string.h> main( ) { char *p="abcde\0ghjik\0"; printf("%d\n",strlen(p) ); } 程序运行后的输出结果是A.12B.15C.6D.5

有以下程序:include include main(){char *p[10]={"abc","aabdfg","dcdbe" 有以下程序: #include <stdio.h> #include <string.h> main() { char *p[10]={"abc","aabdfg","dcdbe","abbd","cd"}; printf("%d\n",strlen(p[4])); } 执行后的输出结果是( )。A.2B.3C.4D.5

有以下程序: main() {int a[10]={1,2,3,4,5,6,7,8,9,10},*p=a[3],*q=p+2; printf("%d\n",*p+*q); }A.16B.10C.8D.6

以下程序运行后的输出结果是() main()   {int a[10]={l,2,3,4,5,6,7,8,9,10},*p=&n[3], *q=p+2;    printf(”%d\n”,*p+*q);    }

下面程序段的运行结果是()。  char *p=“abcdefgh”;  p+=3;  printf(“%d/n”,strlen(strcpy(p,“ABCD”))); A、4B、7C、8D、12

单选题有以下程序:#include #include char *a=you;char *b=Welcome you to Beijing!;main(){ char *p; p=b; while(*p != *a)p++; p+=strlen(a)+1; printf(%s,p);}程序运行后的输出结果是(  )。ABeijing!Byou to Beijing!CWelcome you to Beijing!Dto Beijing!