首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
在下面的函数声明中,______ 是“void BC (int a,int b);”的重载函数。
在下面的函数声明中,______ 是“void BC (int a,int b);”的重载函数。
admin
2009-01-15
26
问题
在下面的函数声明中,______ 是“void BC (int a,int b);”的重载函数。
选项
A、int BC (int a,int b)
B、void BC(int a,char b)
C、float BC (int a,int b,int c=0)
D、void BC (int a,int b=0)
答案
8
解析
如果重载函数void BC (int a, int b),则参数个数和返回值等都要与其相同。
转载请注明原文地址:https://kaotiyun.com/show/pfkp777K
本试题收录于:
二级C题库NCRE全国计算机二级分类
0
二级C
NCRE全国计算机二级
相关试题推荐
有以下程序#include<stdio.h>voidmain(){chars[]="012xy\08s34f4w2";inti,n=0;for(i=0;s[i]!=0;i++)if(s[i]>=’0’&&s[i]<
以下程序#include<stdio.h>#definefix)x*x*xmain(){inta=3,S,t;s=f(a+1);t=f((a+1));printf(’’%d,%d\n’’,S,t);}程序运行后的输出结果是
以下程序运行后的输出结果是()。#include<stdio.h>main(){inti=0,j=0,k=0,x=35;if(i)x--;elseif(j);
设有定义:struct{charmark[12];intnuml;doublenum2;}tl,t2;若变量均已正确赋初值,则以下语句中错误的是
以下叙述正确的是
在C语言中do-while语句中结束该循环的条件为()。
表示关系式x≤y≤z的C语言表达式的是
若各选项中所用变量已正确定义,函数fun中通过return语句返回一个函数值,以下选项中错误的程序是
设fp为指向某二进制文件的指针,且已读到此文件末尾,则函数feof(fp)的返回值为()。
若有函数声明voidfun(floatarray[],int*ptr);以下叙述正确的是()。
随机试题
《法律的概念》的作者是
A.与相应的椎骨平面相差2节B.与相应的椎骨平面相差1节C.与相应的椎骨平面相差3节D.T10~T12之间E.T12~S1之间上段胸髓位于
A.0.3mmB.0.4mmC.0.5mmD.0.6mmE.0.7mm弯制卡环的连接体应均匀的离开组织面
下列有关工程设备采购招标及报价的说法中,不正确的是()。
国际上的创业板市场模式主要有()。Ⅰ.独立模式Ⅱ.一所二板升级式Ⅲ.一所二板平行模式Ⅳ.条块结合模式
在我国,地财政政策的基本手段包括税收、补贴和再贴现等。()
2011年12月2日05时07分,第十颗北斗导航卫星(15)在西昌卫星发射中心由“长征三号甲”运载火箭成功送入太空预定转移轨道。这是中国北斗导航系统组网的第()颗倾斜地球同步轨道卫星。
产品责任是指产品有缺陷,存在可能危及人身、财产安全的危险,造成产品的消费者、使用者或其他第三者人身或其他直接财产损失后,缺陷产品的生产者、销售者应当承担的特殊的侵权法律责任。根据上述定义,下列受害人可因产品责任要求侵权损害赔偿的是:
某公司计划投资新项目,下列哪一项不会产生增量现金流量。(1)自有土地可以被用来建设新厂房,但是如果新项目不被接受,该土地将以市场价格700000元出售。(2)如果新项目被接受,则原有产品销售额可能下降300000元。(3)去年用在新项目的
已知一国经济体中存款D=5000亿元,现金C=1000亿元,准备金700亿元,法定存款准备金率为10%(要求写出详细步骤,保留小数点后两位):[对外经济贸易大学2018研]计算超额准备金、基础货币和货币乘数。
最新回复
(
0
)