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 is lambda in c++?
Explain calling an object's member function(declared virtual)from its constructor?
What is the use of map in c++?
write asingle linked list which read from two list & the do the following 1 sort the prime & nonprime num (prime should be less tn nonprime) 2 each node has a prime num followd by nonprime 3 add a new node into its sutable plce 4 erase the most three duplicated non prime num 5 find the least duplicated prime num
What are multiple inheritances (virtual inheritance)?
What are proxy objects?
What is the difference between operator new and the new operator?
What is the difference between while and do while loop? Explain with examples.
Explain rethrowing exceptions with an example?
Differentiate between realloc() and free().
Do class declarations end with a semicolon?
Why are pointers used?