67 087
Assignments Done
99,3%
Successfully Done
In November 2018

Answer to Question #72781 in C++ for Moin

Question #72781
Class Book

{

char book_name[20], writer [20];

int no_of_pages;

public:

void read();

void show();

};

class Tbook: private Book

{

int no_of_lessons, no_of_exercises;

protected:

int standard;

public:

void readtbook();

void showtbook();

};

class sciencebook: public tbook

{

char topic[20];

public:

void readsciencebook();

void showsciencebook();

};

(i) Name the data members and member functions which can be accessed from the member

function of class sciencebook.

(ii) Name the member functions which can be accessed by an object of
(a) class tbook
(b) class
sciencebook
Expert's answer
Answer to the question:
i)
void readtbook ()
void showtbook ()
int standard
char topic[20]
void readsciencebook()
void showsciencebook();
ii) a)
void readtbook();
void showtbook();
b)
void readtbook();
void showtbook();
void readsciencebook();
void showsciencebook();

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions