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

How do pointers work?

0 Answers  


Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.

0 Answers   TCS,


What is the function to call to turn an ascii string into a long?

0 Answers  


How would you differentiate between a pre and post increment operators while overloading?

0 Answers  


What are the 4 types of library?

0 Answers  


Is c++ a high level language?

0 Answers  


Why do we use pointers in c++?

0 Answers  


Out of fgets() and gets() which function is safe to use and why?

0 Answers  


What is a try block?

0 Answers  


What is the difference between a template and a macro?

0 Answers  


What are the advantages of C++ programming compared to C programming?

2 Answers   HAL,


Can a built-in function be recursive?

0 Answers  


Categories