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++?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a lambda function c++?

1125


How java is different from c and c++?

1210


Which field is used in c++?

1113


Can comments be longer than one line?

1080


Write a recursive program to calculate factorial in c++.

1085


What is the full form nasa?

1107


Write about the use of the virtual destructor?

1009


what are the decision making statements in C++? Explain if statement with an example?

1102


What is java and c++?

1183


What is the best way to declare and define global variables?

1336


What is the main purpose of overloading operators?

1153


Would you rather wait for quicksort, linear search, or bubble sort on a 200000 element array? (Or go to lunch...) a) Quicksort b) Linear Search c) Bubble Sort

1050


How would you obtain segment and offset addresses from a far address of a memory location?

1089


What is c++ hiding?

1224


Difference between inline functions and macros?

1054