What are the three types of access specifiers in C++?
Answer / nashiinformaticssolutions
1. Public: Every student in the class is reachable from anywhere within the application.
2. Private: Only member functions within the class have access to class members.
3. Protected: Any subclass of the class or the member functions within the class can access class members.
| Is This Answer Correct ? | 0 Yes | 0 No |
How can an improvement in the quality of software be done by try/catch/throw?
What is the default width for ouputting a long integer using the insertion operator?
How many types of modularization are there in c++?
Can we define function inside main in c++?
Explain queue. How it can be implemented?
What are friend functions in C++?
Write any small program that will compile in "C" but not in "C++"
What are manipulators used for?
Why do we use pointers in c++?
What is volatile and pragma? When they are used?
What are stacks?
What is singleton pattern in c++?