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 the use of volatile variable?

0 Answers  


Do you know what are pure virtual functions?

0 Answers  


why can't we declare data member of class auto register or extern

1 Answers  


Consider a c++ template funtion template<class T> T& Add(T a, T b){return a+b ;} if this function is called as T c = Add("SAM", "SUNG"); what will happen? What is the problem in the template declaration/ How to solve the problem.

7 Answers   LG, Samsung,


What are the two types of comments, and how do they differ?

0 Answers  


Differentiate between declaration and definition in C++?

1 Answers  


When is a template a better solution than a base class?

1 Answers  


What is a wchar_t in c++?

0 Answers  


Is there a datatype string in c++?How is the memory allocation?

3 Answers  


Name four predefined macros.

0 Answers  


What is the identity function in c++? How is it useful?

0 Answers  


What is stream and its types in c++?

0 Answers  


Categories