Click to follow our Afritutor YouTube Channel, subscribe and click notifications and get updates on new learning videos
<=Back
A C++ class defined with the following code:
class PUBLISHER
{
char Pub[12];
double Turnover;
protected:
void Register();
public:
PUBLISHER();
void Enter();
void Display();
};
class BRANCH
{
char CITY[20];
protected: float Employees;
public:BRANCH();
void Haveit();
void Giveit();
};
class AUTHOR:private BRANCH,public PUBLISHER
{
int Acode;
char Aname[20];
float Amount;
public:AUTHOR();
void Start();
void Show();
};
(i) Write four names of member functions which are accesible from objects belonging to class AUTHOR. (4 marks)
(ii) Write four names of data members which are accessible from the class AUTHOR.
 Viewed: 159 times For Better experience and learning,for video answers, after video ends playing, click next question in the questions list!!!
Share in: