R

Rakesh Kumar • 28.44K Points
Instructor II

Q. What is the default access specifier for class members in C++?

  • (A) public
  • (B) private
  • (C) protected
  • (D) None of the above
  • Correct Answer - Option(B)
  • Views: 34
  • Filed under category C++

Explanation by: Rakesh Kumar
By default, all class members in C++ are private unless specified otherwise.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics