题目内容
阅读下面的程序,写出程序运行的结果。#include class Base{public:virtual int fun( ) { return 25; }};class Derive: public Base{public:virtual int fun() { return 60; }};void main(){Derive d;Base &b = d, b2,*p;cout<fun()<fun()<
查看答案
搜索结果不匹配?点我反馈