21.
What is the diamond problem in C++ inheritance?

22.
In C++, which access specifier allows the members of a base class to be accessible in the derived class and its derived classes, but not from outside the class hierarchy?

24.
In C++, what happens if a derived class inherits multiple base classes and each base class contains a member with the same name?

28.
In C++, what happens if a derived class redefines a method that is already defined in its base class?

29.
In C++, which type of inheritance involves a class inheriting from multiple classes directly or indirectly?