在下面的函数声明中,______ 是“void BC (int a,int b);”的重载函数。

admin2009-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
0

随机试题
最新回复(0)