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
Answers
Answered by
1
I think this question is incorrect
so you explain this question
so you explain this question
Emjacobs:
no, this is the right question.
Similar questions
Math,
8 months ago
Computer Science,
8 months ago
Social Sciences,
8 months ago
Chemistry,
1 year ago
Math,
1 year ago