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

Answer Posted / nashiinformaticssolutions

• Private: Members are accessible only within the class.
• Protected: Accessible within the class and derived classes.
• Public: Accessible from outside the class.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between a copy constructor and an overloaded assignment operator.

1138


Why is null pointer used?

1221


What is the difference between the compiler and the preprocessor?

1167


What is static class data?

1108


Define vptr.

1092


What is overloading unary operator?

1132


Write a function to find the nth item from the end of a linked list in a single pass.

1020


Can there be at least some solution to determine the number of arguments passed to a variable argument list function?

1059


an integer constant must have atleast one a) character b) digit c) decimal point

1078


What is c++ and its features?

1075


What are the effects after calling the delete this operator ?

1106


Can a constructor be private?

1121


What is the difference between map and hashmap in c++?

1159


Explain selection sorting. Also write an example.

1094


What is the header file for setw?

1192