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 |
Why do we use classes in c++?
which operator is used for performing an exponential operation a) > b) ^ c) none
What is the identity function in c++? How is it useful?
What is the difference between set and map in c++?
How would perform Pattern Matching in C++?
How do you show the declaration of a virtual constructor?
What is the copy-and-swap idiom?
What do you mean by translation unit in c++?
How to access a variable of the structure?
What is #include math h in c++?
What is flush c++?
Explain pass by value and pass by reference.