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

题目内容 (请给出正确答案)

11、下列程序的输出结果是 void main() { int a[5]={2,4,6,8,10},*p; p=a; printf("%d",*(p++)); }

A.4

B.2

C.4

D.6


参考答案和解析
1113
更多 “11、下列程序的输出结果是 void main() { int a[5]={2,4,6,8,10},*p; p=a; printf("%d",*(p++)); }A.4B.2C.4D.6” 相关考题
考题 以下程序的输出结果是 【 12 】 。#include stdio.hmain(){ int a[5]={2,4,6,8,10}, *p;p=a; p++;printf("%d",*p);}

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

考题 下述程序的输出结果是includevoid main(){int a[5]={2,4,6,8,10};int*p=a,**q=p; 下述程序的输出结果是 #include<stdio.h> void main() { int a[5]={2,4,6,8,10}; int*p=a,**q=p; printf("%d,",*(p++)); pfintf("%d",**q);}A.4,4B.2,2C.4,5D.2,4

考题 下列程序的输出结果是()。 include VOid p(int *x) {printf("%d",++*x); } void main() 下列程序的输出结果是( )。#include<stdio.h>VOid p(int *x){ printf("%d",++*x);}void main(){ int y=3;p(y);}A.3B.4C.2D.5

考题 下列程序的输出结果是()。includevoid main(){int b[6]={2,4,6,8,10,12};int*p--b,**q= 下列程序的输出结果是( )。 #include<stdio.h> void main() { int b[6]={2,4,6,8,10,12}; int*p--b,**q=p; printf("%d",*(p++)); printf("%d",**q); }A.*p=a;scanf("%1f",p);B.*p=a;scanf("%f",p);C.p=a;scanf("%1f",*p);D.p=a;scanf("%1f",p);

考题 下述程序的输出结果是()。includevoid main(){int a[5]={1,2,3,4,5};int *p=a,**q=p 下述程序的输出结果是( )。 #include<stdio.h> void main() {int a[5]={1,2,3,4,5}; int *p=a,**q=&p; printf("%d,",*(p++)); printf("%d",**q);}A.2,2B.1,1C.3,4D.1,2

考题 以下程序的输出结果是【 】。include main() {int j,a[]={1,3,5,7,9,11,13,15},*P=a+5; f 以下程序的输出结果是【 】。include <stdio.h>main(){ int j,a[]={1,3,5,7,9,11,13,15},*P=a+5;for(j=3; j;j-){ switch(i){ case 1:case 2: printf("%d",*p++); break;case 3: printf("%d",* (-p));}}}

考题 以下程序的输出结果是【】。 include void main() { int a[]= {1, 3, 5, 7}, *p=a, i; 以下程序的输出结果是【 】。include<iostream. h>void main() {int a[]= {1, 3, 5, 7}, *p=a, i;for (i=0; i<4: i++)a[i]=*p++;cout<<a[2];}

考题 下列程序的输出结果是()。includevoid p(int *x){printf("%d",++*x);}void main(){int 下列程序的输出结果是( )。 #include<stdio.h> void p(int *x) { printf("%d",++*x); } void main() { int y=3; p(y); }A.3B.4C.2D.5

考题 下列程序的输出结果是【 】。include void swap(int *a, int *B) { int *t; t=a;a=b;b=t; 下列程序的输出结果是【 】。include <stdio.h>void swap(int *a, int *B){int *t;t=a;a=b;b=t;}main(){int i=3,j=5,*p=i,*q=j;swap(p,q);printf("%d %d\n",*p,*q);}

考题 下述程序的输出结果是()。includevoid main(){ int a[5]={2,4,6,8,10};int*p=a,**q=p; printf("%d,",*(p++)); printf("%d",* *q);}A.4,4B.2,2C.4,5D.2,4

考题 下述程序的输出结果是( )。 #includestdio.h void main { int b[6]={2,4,6,8,10,12); int*p=b,**q=&p; printf("%d,",*(p++)); printf("%d,",**q); }A.4,4B.2,2C.4,5D.2,4

考题 下列程序执行后输出的结果是______。 int d=1; fun(int p) { int d=5; d+=p++; printf("%d,",d); } main() { int a3; fun(a); d+=a++; printf("%d\n",d); }A.8,12B.9,13C.8,4D.9,5

考题 有以下程序:include main() {int a[] = {2,4,6,8,10} ,y =0,x, * p;p =a[1];for( 有以下程序: #include <stdio.h> main() { int a[] = {2,4,6,8,10} ,y =0,x, * p; p =a[1]; for(x=1;x<3;x++)y+ =p[x]; printf( "% d \n" , y); }程序运行后的输出结果是( )。A.10B.11C.14D.15

考题 下列程序的输出结果是()。includevoid main().{int b[6]={2,4,6,8,10,12}; int*p=b,**q 下列程序的输出结果是( )。 #include<stdio.h> void main(). { int b[6]={2,4,6,8,10,12}; int*p=b,**q=p; printf("%d", *(p++)); printf("%d,",**q); }A.4,4B.2,2C.4,5D.2,4

考题 有下列程序main(){ int a[5]={2,4,6,8,10},*p,**k; p=a; k=p; printf("%d",*(p++)); printf("%d\n",**k);}运行该程序,其输出结果是A.4 B.22C.24 D.46

考题 下列程序舶输出结果是【 】。include main() {int a[5]={2,4,6,8,10},*p;p=a;p++;printf(" 下列程序舶输出结果是【 】。include <stdio.h>main(){int a[5]={2,4,6,8,10},*p;p=a;p++;printf("%d",*p);}

考题 下列程序的输出结果是( )。 #includestdio.h void p(int*x) { printf("%d¨,++*x); } void main( ) { int y=3; p(&y); }A.3B.4C.2D.5

考题 下列程序的输出结果是()。 include void main() {int b[6]- 下列程序的输出结果是( )。#include<stdio.h>void main(){ int b[6]-<2,4,6,8,10,12};int*p=b,**q=p;printf("%d",*(p++));printf("%d,",**q);}A.4,4B.2,2C.4,5D.2,4

考题 下述程序的输出结果是#includestdio.hvoid main(){ int a[5]={2,4,6,8,10};int *p=a,**q=p;printf("%d,",*(p++));printf("%d",**q); }A.4,4B.2,2C.4,5D.2,4

考题 下列程序的输出结果是( )。#includestdio.hvoid p(int*x){ printf(%d¨,++*x);}void main( ){ int y=3;p(&y);}A.3B.4C.2D.5

考题 下列程序的输出结果是( )。 int a[5]={2,4,6,8,10},*P,* *k; p=a; k=p; printf("%d",*(p++)); printf("%d\n",* *k);A.4 4B.2 2C.2 4D.4 6

考题 下列程序的输出结果是 ______。includevoid main(){ int a[]={1,2,3,4,5,6},*p,**q; 下列程序的输出结果是 ______。 #include <iostream.h> void main() { int a[]={1,2,3,4,5,6},*p,**q; p=a; q=p; cout<<*(p++); cout<<**q<<end1; }A.34B.56C.12D.23

考题 以下程序运行后,输出结果是______。 int d=1; fun(int p) { int d=5; d+=p++; printf("%d",d); } main() { int a=3; fun(a); d+=a++; printf("%d\n",d); }A.84B.99C.95D.44

考题 下列程序的输出结果是()。ineludemain(){int a[5]={2,4,6,8,10},*p,**k; p=a;k=p; 下列程序的输出结果是( )。 #inelude <stdio.h> main() { int a[5]={2,4,6,8,10},*p,**k; p=a; k=p; printf("%d",*(p++)); printf("%d\n",**k); }A.4B.22C.24D.46

考题 以下程序的输出结果是( )。 include void swap(int*a,int*B){int*t; t=a;a=b;b=c;} main 以下程序的输出结果是( )。 include<stdio.h> void swap(int*a,int*B){int*t; t=a;a=b;b=c;} main() {int i=3,j=5,*p=i,*q=j; swap(p,q);printf("%d %d\n",*p,*q); }

考题 单选题有以下程序:#include main(){ int a[10]={1,3,5,7,11,13,17},*p=a;  printf(%d,,*(p++)); printf(%d,*(++p)); }程序运行后的输出结果是(  )。A 3,7B 3,5C 1,5D 1,3

考题 单选题有以下程序#include main (){ int a[5] = {2,4,6,8,10},*p,**k; p = a; k = p; printf(%d,*(p++)); printf(%d,**k);}程序运行后的输出结果是(  )。A 24B 44C 22D 46