Ask Question
20 September, 19:21

Protected base class members cannot be accessed by: a. friends of the base class.

b. friends of derived classes.

c. Functions that are not derived-class member functions.

d. Functions that are neither friends of the base class, derived-class member functions nor friends of a derived class.

+5
Answers (1)
  1. 20 September, 19:53
    0
    The answer is "Option d".

    Explanation:

    This class members can be accessed by their member and the friend of there class, It is also known as the Members of the derived class from the basic class can be accessed by the protected and non-static member of the base class, and wrong choices can be described as follows:

    Option a and Option b both are wrong because non-static member can't be accessed by there base or derived class. In option c, It is wrong because the function is a member function of the derived class.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Protected base class members cannot be accessed by: a. friends of the base class. b. friends of derived classes. c. Functions that are not ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers