Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are the three types of access specifiers in C++?



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

Post New Answer

More C++ General Interview Questions

What is lambda in c++?

0 Answers  


Explain calling an object's member function(declared virtual)from its constructor?

1 Answers  


What is the use of map in c++?

0 Answers  


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

0 Answers   Care,


What are multiple inheritances (virtual inheritance)?

0 Answers  


What are proxy objects?

2 Answers  


What is the difference between operator new and the new operator?

3 Answers   Amazon, TCS, Wipro,


What is the difference between while and do while loop? Explain with examples.

0 Answers  


Explain rethrowing exceptions with an example?

0 Answers  


Differentiate between realloc() and free().

0 Answers  


Do class declarations end with a semicolon?

0 Answers  


Why are pointers used?

0 Answers  


Categories