MCQOPTIONS
Saved Bookmarks
| 1. |
If a class C is derived from class B, which is derived from class A, all through public inheritance, then a class C member function can access |
| A. | protected and public data only in C and B. |
| B. | protected and public data only in C. |
| C. | private data in A and B. |
| D. | protected data in A and B. |
| Answer» E. | |