13、如下程序的执行结果是 include<stdio.h> int main() { int a[ ][4]={1,3,5,7,9,11,13,15,17,19,21,23}; int (*p)[4],i=1,j=2; p=a; printf("%d\n",*(*(p+i)+j)); return 0; }
相似题目
-
写出程序的运行结果。 #include <stdio.h> main() { int j; for(j=0;j<10;j++) {if (j%2==0) continue; printf("%d",j); } } 该程序的执行结果是()。
-
有如下程序:#include int main(void){int x=23;do{printf(%d,x--);}while(!x);return 0;}该程序的执行结果是( )。
-
阅读下列程序,则在执行后,程序的运行结果为( ).#include stdio.h#include string.hmain( ){ char a[30]=nice to meet you!
-
有如下程序段,执行后的输出结果是______。 #include void main() { struct a { int x; int y; }num[2]={{20,5},{6,7}}; printf('%d',num[0].x/num[0].y*num[1].y); }
-
有以下程序: include <stdio.h> void f(); } 执行后的输出结果【 】。
-
有如下程序: inClude<iostream> using namespaCe std: Class CD{ publiC: ~CD{Cout<<’C’:} private: Char name[80]; }; int main{ CD a,*b,d[2]; return 0; 执行这个程序的输出结果是()。
-
下述程序执行的输出结果是()。 include<stdio.h> main() {char a[2][4]; , strcpy(
-
有如下程序: include<iostream> using namespace std; class MyClass{ public: MyClass{cout<<’A’;} MyClass(char C.{cout<<C;} ~MyClass{cout<<’B’;} }; int main{ MyClass pl,+p2; p2=new MyClass(’X’); delete p2; return 0; } 执行这个程序的输出结果是()。
-
有以下程序: include<stdi0.h> define S(x)(x)"x"2 main() { int k一5,j=2; Dri
-
如下程序的运行结果是______。 include<stdio.h> main() { int x=y=3,z=1; printf ("%d%d\n",(
-
要求下面的程序运行后,显示如下结果: 2 10 4 6 1 5 2 3 2 4 7 8 5 1 3 2 下列程序执行后的输出结果是________。 include void main(); }
-
有如下程序 include<stdio.h>struct group { int first, second, third; }; struct group get_min_max_sum(); } 程序运行后的输出结果是
-
有下列程序 include<stdio.h>main()); } 程序执行时若输入: welcome you to beijing<回车>,则输出结果是
-
有下列程序: include<stdi0.h> voidmain() {FILE*f; f=fopen("filea.txt","w"); fp
-
执行下述程序后,输出的结果是()。 include<stdio.h> define S(X)X*X void main { int
-
有下列程序: include<stdi0.h> voidmain() {char*a[]={"abcd","ef","gh","ijk");inti; for(i=0;i<4;i++)printf("%C",*a[i]); } 程序运行后的输出结果是()。
-
有如下程序: include<iostroam> using namespace std; class Base{ protected: Base{cout<<’A’;} Base(char C){cout<<c;} }; class Derived:public Base{ public: Derived(char C){tout<<C;} }; int main{ Derived dl(’B’); retum 0; } 执行这个程序的输出结果是()。
-
下列程序输出的结果是()。 include<stdi0.h> funl(chara,charb){charC;c=a;a=b;b=C;) f
-
"7.有以下程序,执行后输出的结果是()include ""stdio.h""main(){int p【7】={11,13,14,15,16,17,18}, i=0,k=0;while(i<7 && p【i】%2){k =k+ p【i】;i++;}printf(""%d\n"", k);}
-
现有如下程序段,则程序段的输出结果为【16】。 include’stdio.h’ intfun()}
-
下面是一个类的测试程序,请设计出能使用如下测试程序的类 int main(); return 0; } 其执行结果为: 测试结果:68-55=13
-
有以下程序include<stdio.h>main{inty=10;while(y--);printf(y=%d\n,y);}程序执行后的输出结果是()
-
有以下程序: include<stdi0.h> ()
-
以下程序的执行结果是() include {inti=10,j=10; printf("%d,%d/n",++i,j--); }。