首页 > 计算机等级考试
题目内容 (请给出正确答案)
[单选题]

已知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);

查看答案
答案
收藏
如果结果不匹配,请 联系老师 获取答案
您可能会需要:
您的账号:,可能还需要:
您的账号:
发送账号密码至手机
发送
安装优题宝APP,拍照搜题省时又省心!
更多“已知int a,b;double c;,则以下语句中错误的函…”相关的问题
第1题
已知char a;int b;float c;double d;则表达式a*b+c-d结果为

A.double

B.int

C.float

D.char

点击查看答案
第2题
已知char a; int b; float c; double d; 则表达式a*b+c-d结果为

A.double

B.int

C.float

D.char

点击查看答案
第3题
已知char a;int b;float C;double d;则表达式a-b c-d结果为()型。A)double B)float C)int D)cha

已知char a;int b;float C;double d;则表达式a-b c-d结果为()型。

A)double

B)float

C)int

D)char

点击查看答案
第4题
已知程序中已经定义了函数test,其原型是int test(int,int,int);,则下列重载形式中正确的是

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);

点击查看答案
第5题
已知有定义:const int D=5;int i=1;double f=0.32;char c=15;则下列选项错误的是

A.++i;

B.D--;

C.c++;

D.--f;

点击查看答案
第6题
已知函数原型为“inttest(int,int,int);”,则下列选项中,能够正确重载的是()。

A.chartest(int,int,int)

B.doubletest(int,int,double)

C.inttest(int,int,int=0)

D.floattest(int,int,int)

点击查看答案
第7题
(21 )已知函数 fun 的原型为int fun (int,int,int ) ;下列重载函数原型中错误的是A ) char fun

(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 ) ;

点击查看答案
第8题
已知如下定义,则sizeof(a)的值是struct{int i; char c; double a;}a;A.8B.9C.10D.11

已知如下定义,则sizeof(a)的值是 struct{ int i; char c; double a;}a;

A.8

B.9

C.10

D.11

点击查看答案
第9题
已知有定义const int D=5;int i=1;double f=0.32;char c=15;则下列选项错误的是A.++i;B.D--;C.c+

已知有定义 const int D=5; int i=1; double f=0.32; char c=15; 则下列选项错误的是

A.++i;

B.D--;

C.c++;

D.--f

点击查看答案
第10题
已知:double A(double A) {return++a;}和int A(in A) {return++a;}是一个函数模板的两个实例,则

已知:double A(double A) {return++a;}和int A(in A) {return++a;}是一个函数模板的两个实例,则该函数模板定义为【 】

点击查看答案
退出 登录/注册
发送账号至手机
密码将被重置
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改