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 c++ access specifiers?

Answer Posted / hrpynux@gmail.com

In C++, there are three access specifiers: public - members are accessible from outside the class. private - members cannot be accessed (or viewed) from outside the class. protected - members cannot be accessed from outside the class, however, they can be accessed in inherited classes.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are smart pointers?

2165


What is endianness?

1041


What is name hiding in c++?

1107


what is a reference variable in C++?

1155


What is the difference between structures and unions?

1012


Why is "using namespace std;" considered bad practice?

1036


What are the stages in the development cycle?

987


What are the steps in the development cycle?

1033


Are vectors passed by reference c++?

939


Who invented turbo c++?

1016


What is class syntax c++?

1092


What are signs of manipulation?

1013


What is a linked list in c++?

998


what does the following statement mean? int (*a)[4]

1029


What is pointer to member?

1013