以下程序正确的是 A: include stdio.h{ printf(A\n);} B: void main(){ printf(A\n);} C: includestdio.hvoid main(){ printf(A\n);} D: includestdio.hvoid min(){ printf(A\n);}
以下程序正确的是 A: include stdio.h{ printf(A\n);} B: void main(){ printf(A\n);} C: includestdio.hvoid main(){ printf(A\n);} D: includestdio.hvoid min(){ printf(A\n);}
1.以下程序正确的是( )。 A: include stdio.h{ printf(A\n);} B: void main(){ printf(A\n);} C: includestdio.hvoid main(){ printf(A\n);} D: ...
1.以下程序正确的是( )。 A: include stdio.h{ printf(A\n);} B: void main(){ printf(A\n);} C: includestdio.hvoid main(){ printf(A\n);} D: ...
对下述程序,( )是正确的判断.#includestdio.hvoid main(){int x,y;scanf(%d,%d,x,y);if(xy)x=y;y=x;elsex++;y++;printf(%d,%d,x,y);}
对下述程序,( )是正确的判断.#includestdio.hvoid main(){int x,y;scanf(%d,%d,x,y);if(xy)x=y;y=x;elsex++;y++;printf(%d,%d,x,y);}
下列程序的输出结果是( ).#includestdio.hvoid main(){ struct st { int y,x,z; };union{ long i; int j; char k;}un;printf(%d,%d\n,sizeof(struct st),sizeof(un));} A: 12,4 B: 8,4 C: 6,2 D: 8,6
下列程序的输出结果是( ).#includestdio.hvoid main(){ struct st { int y,x,z; };union{ long i; int j; char k;}un;printf(%d,%d\n,sizeof(struct st),sizeof(un));} A: 12,4 B: 8,4 C: 6,2 D: 8,6
下列程序运行后的输出结果是:_____#includestdio.hvoid fun( int *pa, int pb ) { int pt; pt = *pa, *pa = pb, pb = pt;}int main( ){ int x=1, y=2; fun(x, y); printf(%d, x==y); return 0;}
下列程序运行后的输出结果是:_____#includestdio.hvoid fun( int *pa, int pb ) { int pt; pt = *pa, *pa = pb, pb = pt;}int main( ){ int x=1, y=2; fun(x, y); printf(%d, x==y); return 0;}
下面程序的输出结果是( )。#includestdio.hvoid main( ){int i=2,p;int f(int a,int b);p=f(i,i+1);printf(%d,p);}int f(int a,int b){int c;c=a;if(ab)c=1;else if(a==b)c=0;else c=-1;return c;} A: 0 B: 1 C: 2 D: -1
下面程序的输出结果是( )。#includestdio.hvoid main( ){int i=2,p;int f(int a,int b);p=f(i,i+1);printf(%d,p);}int f(int a,int b){int c;c=a;if(ab)c=1;else if(a==b)c=0;else c=-1;return c;} A: 0 B: 1 C: 2 D: -1
有以下程序:#includestdio.hvoid main(){int a[][3]={{1,2,3},{4,5,0}},(*pa)[3],i;pa=a;for(i=0;i3;i++) if(i2) pa[1][i] = pa[1][i]-1; else pa[1][i] = 1;printf(%d\n,a[0][1]+a[1][1]+a[1][2]);}执行后输出结果是( )。[/i][/i][/i] A: 9 B: 7 C: 0 D: 8
有以下程序:#includestdio.hvoid main(){int a[][3]={{1,2,3},{4,5,0}},(*pa)[3],i;pa=a;for(i=0;i3;i++) if(i2) pa[1][i] = pa[1][i]-1; else pa[1][i] = 1;printf(%d\n,a[0][1]+a[1][1]+a[1][2]);}执行后输出结果是( )。[/i][/i][/i] A: 9 B: 7 C: 0 D: 8