They got to know each other in their 20s and _____ they are still in close touch with each other.
A. on that day
B. off the day
C. to this day
D. at this day
查看答案
{.若程序中定义了以下函数 double myadd(double a,double B) { return (a+B);} 并将其放在调用语句之后,则在调用之前应该对该函数进行说明,以下选项中错误的说明是:
A. double myadd(double a,
B. ; double myadd(double,double);
C. double myadd(double b,double A);
D. double myadd(double x,double y); }
{.以下叙述中不正确的是:
A. 在C中,函数中的自动变量可以赋初值,每调用一次,赋一次初值.
B. 在
C. 中,在调用函数时,实在参数和对应形参在类型上只需赋值兼容. 在C中,外部变量的隐含类别是自动存储类别.
D. 在C中,函数形参可以说明为register变量. }
{.下列程序执行后输出的结果是: #include "stdio.h" f(int a) { int b=0; static c=3; a=c++;b++; return(a); } main( ) { int a=2,i,k; for(i=0;i<2;i++) k=f(a++); printf("%d\n",k); } }
A. 3
B. 0
C. 5
D. 4
{ .下面程序的输出是: long fun5(int n) {long s; if((n==1)||(n==2)) s=2; else s=n+fun5(n-1); return(s);} main() {long x; x=fun5(4); printf("%ld\n",x); } }
A. 10
B. 8
C. 9
D. 12