考考你的C++, 猜猜输出啥结果?(1)

来源:互联网 发布:python http 性能测试 编辑:程序博客网 时间:2024/04/30 20:47

 

 

 

答案在后面:

|

|

|

|

 

|

|

|

|

 

|

|

|

|

 

|

|

|

|

 

|

|

|

|

 

|

|

|

|

 

|

|

|

|

 

 

 

 

 

 

 

Base::f(double i)

Derived::f(complex<double>)

Base::f(double i)

Base::f(int i=10) 10

Derived::f(int i=20) 20

Derived::f(int i=20) 10

 

原创粉丝点击