【简答题】读程题: 阅读下列程序,并把运行结果填写在右框图中相应的 ________处。 #include void main() { int a[12]={1,2,3,4,5,6,7,8,9,10,11,12}; int b[3][4],i,j=0,k=0; for(i=0;i<12;i++) {b[j][k]=a[i]+j+k; k++; if(k==4){j++;k=0;} } for(i=0;i<...
【简答题】阅读下列程序,并把运行结果填写在80题答题处。 #include int a=3; int f(int c) {static int a=3;int t=1; while(c-->a) t=t*c; return (a++)+t;} void main() {int i,s=0; for(i=1;i<3;i++) {int a=5; s+=f(a); printf("%d\t",s);} s+=a...
【简答题】读程序一: 阅读下列程序,并把运行结果填写在 答题处。 #include int main() { int a[4][4]={{1,2,3,4},{5,6,7,8},{9,10,11,12},{13,14,15,16}},b[4][4]; int i,j; for(i=0;i<4;i++) for(j=0;j<4;j++) b[j][3-i]=a[i][j]; for(i=0;i<4;i++){...
【简答题】Even if you really enjoy your job, it’s still possible to feel bored as you work. You may not be able to make big changes—or change your job—but you can make small adjustments. Here are some tips on h...
【简答题】阅读下列程序,并把运行结果填写在 答题处。 #include int main() { char dex[17]={"0123456789ABCDEF"}; int c[8],i,base=16; unsigned long n=346; i=0; printf("deci=%d\n",n); do{ c[i++]=n%base; n=n/base; }while(n); printf("hex=...
【简答题】阅读下列程序,并把运行结果填写在答题处。 #include int main() { int m=54,s=0; do { switch(m%7) { case 1:m/=2;s+=2; break; default:m--;s--; case 3: m%=3;s+=3;continue; case 5:m/=5;s+=5; } printf("%d %d\n",m,s); }while(s!...
【简答题】阅读下列程序,并把运行结果填写在79题答题处。 #include main() { int i,j,k,a,b=1,c=10; for(i=-1;i<3;i++) { a=i;b++; for(j=1;j<4;j++) { c+=a; for(k=0;k<=2;k++) b+=k;c++; } } printf("a=%d\nb=%d\nc=%d\n",a,b,c); }
【简答题】阅读下列程序,并把运行结果填写在 答题处。 #include int a=15; int fun(int b) { static int a=10; a+=++b; printf("a=%d,",a); return 0; } int main( ) { int c=20; fun(c); a+= - -c; { int a=10; fun(a); } fun(a); printf("a=%d...
【单选题】It's possible for you to save costs if you send your two children to the same school.
【单选题】You'd better leave , because it's dangerous here. [ ]
A.
as possible as you can