1) which of the following refers to a function having more than one distinct meaning a) function overloading b) member oberloading c) opetator overloading d) operations overloading 2) which of the following reduces the number of comparison in a program a) operator overloading b) operation overloading c) Function overloading d) member overloading 3) void dispchar(char ch=`$', int size=10) { for (int i=l ;i++) cout << ch ; } how will you invoke the function dispchar () of the following inputs? To print $ for 10 times a) dispchar(); b) dispchat(ch, size); c) dispchar($, 10); d) dispchar('$', 10 times); 4) which of the following is not true with respect to overloading a) the overloaded function must differ in their signature b) the return type is also considered for overloading a function c) the default arguments of overloaded function are not considered for overloading d) destructor function cannot be overloaded 5) which of the following is invalid prototype for overloading function a) void fun (intx); void fun (char ch); b) void fun (intx); void fun (inty); c) void fun (double) void fun (char ch); d) ;d) void fun (double d); void fun (inty);
0%
15.POLYMORPHISM
共享
共享
共享
由
Periyaraja2009
Class 11
编辑内容
打印
嵌入
更多
作业
排行榜
显示更多
显示更少
此排行榜当前是私人享有。单击
,共享
使其公开。
资源所有者已禁用此排行榜。
此排行榜被禁用,因为您的选择与资源所有者不同。
还原选项
随堂测验
是一个开放式模板。它不会为排行榜生成分数。
需要登录
视觉风格
字体
需要订阅
选项
切换模板
显示所有
播放活动时将显示更多格式。
打开成绩
复制链接
QR 代码
删除
恢复自动保存:
?