以下程序的输出结果是()。 #include<stdio.h> int m=13; int fun(int x,int y) {int m=2; return(x*y-m); } main() {int a=7,b=6; printf("%d",fun(a,B)/m); }
查看答案
下列4个程序中,完全正确的是()。
A. #include<stdio.h> main(); (/*programming*/ printf("programming!\n");}
B. # include<stdio.h> main() {/*/programming/*/ printf("programming!\n");}
C. #include<stdio.h> main() {/*/programming*/*/ printf("programming!\n");)
D. include<stdio.h> main() {/*programming*/ printf("programming!\n");}
有以下程序: #include<stdio.h> int fun(int*k) {int b=0; b=*k+b: return(B);} main() {int a[10]={1,2,3,4,5,6,7,8},i; for(i=2;i<4;i++){printf("%d",fun(&a[i]));} printf("\n"); } 程序运行后的输出结果是()。
A. 10 12
B. 8 10
C. 3 4
D. 10 28
(As far as) I am concerned, his politics (are) rather conservative (compared) with other (politicians).
As far as
B. are
C. compared
D. politicians
有以下程序: #include<stdio.h> int fun(int x,int y) {if(x==y)return(x); else return((x+y)/2); } main() {int a=1,b=2,c=3; printf("%d\n",fun(2*a,fun(b,C))); } 程序运行后的输出结果是()。
A. 2
B. 3
C. 4
D. 5