下列程序的运行结果是 【11】
#include<iostream, h>
class Base

public:
void f(int x) cout<<"Base:"<<x<<end1;
;
class Derived: public Base

public:
void f(char * str) cout<<"Derived:"<<str<<end1;
;
void main(void)

Base * pd=new Base;
pd=new Derived;
pd->f(’a’)

题库:计算机等级考试 类型:填空题 时间:2017-07-03 15:52:10 免费下载:《填空》Word试卷

下列程序的运行结果是 【11】
#include<iostream, h>
class Base

public:
void f(int x) cout<<"Base:"<<x<<end1;
;
class Derived: public Base

public:
void f(char * str) cout<<"Derived:"<<str<<end1;
;
void main(void)

Base * pd=new Base;
pd=new Derived;
pd->f(’a’)

下列程序的运行结果是 【11】 。    #include<iostream, h>   class Base      public:     void f(

本题关键词:行为结果,行包快运专列,H型结构,行为结果评价,竣工结算程序,行政诉讼程序,结果,序列关系,空间序列,H型组织结构;

微信扫码获取答案解析
下载APP查看答案解析