Which access specifier allows class members to be accessed from anywhere in C++?
Options
A.
Private
B.
Protected
C.
Public
D.
More than one of the above
E.
None of the above
Correct Answer (Detailed Explanation is Below)
C.
Public
Detailed Explanation
Explanation: The public access specifier allows class members to be accessed from outside the class through an object, subject to normal access rules. Private members are accessible within the class, while protected members are also accessible in derived classes.