0

which members of A are accessible from B?and why? class A{ int a; protected: float b; public: char c; }; class B:private A{}; 1) a 2) b 3) c 4) none

25th Aug 2016, 3:28 AM
Lekhraj Singh
Lekhraj Singh - avatar
3 Respuestas
+ 3
none
25th Aug 2016, 4:04 AM
Suhail Pappu
Suhail Pappu - avatar
0
I think its answer is b and c.
25th Aug 2016, 8:55 AM
Lekhraj Singh
Lekhraj Singh - avatar
0
what do u mean by class B?? does it mean object of class B or some member function of class B
26th Aug 2016, 11:13 AM
kamal joshi
kamal joshi - avatar