Computer Science, asked by Mustakim789, 1 year ago

Name the data members and member functions which can be accessed from the member function of class science book

Answers

Answered by kappa
5
Hello there,
Your question is incomplete as we need to know the class "science book" for giving the answer
Regardless I will tell you about which data members can be accessed from the member function of class :
Every data member of the class(private,protected or public) can be accessed from anywhere inside the class
but for accessing those data members outside the class, we usually define member function as public.

Hope it helped
Answered by 11smannie11
4

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();

Similar questions