单选题 有以下程序     #include<iostream.h>     float fun(int x,int y)     { return(x+y);}     void main( )     { int a=2,b=5,c=8;      tout < < fun( (int)fun(a+c,B) ,a-C) ;}   程序运行后的输出结果是( )。
【正确答案】 D
【答案解析】基类和其继承类同时出现同名函数,则在继承类中实现对象中调用该函数是使用继承类中的定义,这种情况下是不会产牛二义性的。