4. If a base class contains a member function func(), and a derived class does not contain a function with this name, an object of the derived class cannot access func().
It depends upon how the function
func() has been defined in the base class. If the function
func() is defined public in base class then an object of the derived class can access the function
func().
5. It is illegal to make objects of one class as members of another class.