January 2016
Intermediate to advanced
304 pages
6h 17m
English
To help you test your knowledge of this chapter's content, here are a few exercises that you should work on. They are not imperative to the rest of the book, but working on them will help you assess your strengths and weakness on the material covered.
class A
{
public:
int x;
protected:
int y;
private:
int z;
};
class B : protected A
{
};What is the visibility of x, y, and z in class B?
Read now
Unlock full access