题目内容:
已知基类Person的定义如下:
class Person
{ char Name[10]; //姓名
int Age; //年龄
public:
Person(char* name,int age)
{ strcpy(Name, name);
Age = age;
cout<<”constructor of person “<
#include<iostream>
#include <cstring>
using namespace std;
class Person
{
private:
char Name[10];
int Age;
public:
Person(char* name,int age)
{
strcpy(Name,