What is the default access specifier for members of a C++ class?
Options
A.
public
B.
protected
C.
private
D.
More than one of the above
E.
None of the above
Correct Answer (Detailed Explanation is Below)
C.
private
Detailed Explanation
Correct Answer: Option C
Explanation: Members of a C++ class are private by default. They can be made accessible using public or protected access specifiers. Remember that members of a struct are public by default.