Chapter 27 Flashcards

1
Q

Can we convert pointer or reference of derived class member function or friend function to base class pointer or reference. And not allowed other than that. in C++

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

See the scenario of private inheritance
GrandParent->Parent->Child
Can child access member functions of GrandParent

A

No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly