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 |
What are c++ storage classes?
Does c++ have string data type?
What do you mean by inheritance in c++? Explain its types.
How did c++ start?
Explain data encapsulation?
Is c++ an integer?
Snake Game: This is normal snake game which you can find in most of the mobiles. You can develop it in Java, C/C++, C# or what ever language you know.
Why would you use pointers in c++?
What is an accessor in c++?
What do you mean by public protected and private in c++?
What are c++ stream classes?
What is type of 'this' pointer?