How do the C++ program control the access in program ?
Vishalini.R Answered question June 27, 2023
There are three types of access specifiers in C++:
Members can be accessed from outside the class.
Members in a private class cannot be accessed (or viewed) from outside the class.
Members that are protected cannot be accessible from outside the class, although they can be accessed in inherited classes.
Vishalini.R Answered question June 27, 2023