已知int a,b;double c;,则以下语句中错误的函数调用是
A.scanf("%d,%x,%lf",&a,&b,&c);
B.scanf("%d,%d,%le",&a,&b,&c);
C.scanf("%o,%x,%o",&a,&b,&c);
D.scanf("%d,%o,%e",&a,&b,&c);
A.scanf("%d,%x,%lf",&a,&b,&c);
B.scanf("%d,%d,%le",&a,&b,&c);
C.scanf("%o,%x,%o",&a,&b,&c);
D.scanf("%d,%o,%e",&a,&b,&c);
已知char a;int b;float C;double d;则表达式a-b c-d结果为()型。
A)double
B)float
C)int
D)char
A.char test (int,int,int);
B.double test(int,int,double);
C.int test(int,int,int=O);
D.float test(int,int,float=3.5F);
A.chartest(int,int,int)
B.doubletest(int,int,double)
C.inttest(int,int,int=0)
D.floattest(int,int,int)
(21 )已知函数 fun 的原型为
int fun (int,int,int ) ;
下列重载函数原型中错误的是
A ) char fun (int,int ) ;
B ) double fun (int,int,double ) ;
C ) int fun (int,char* ) ;
D ) float fun (int, int, int ) ;
已知如下定义,则sizeof(a)的值是 struct{ int i; char c; double a;}a;
A.8
B.9
C.10
D.11
已知有定义 const int D=5; int i=1; double f=0.32; char c=15; 则下列选项错误的是
A.++i;
B.D--;
C.c++;
D.--f
已知:double A(double A) {return++a;}和int A(in A) {return++a;}是一个函数模板的两个实例,则该函数模板定义为【 】