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?



What are the c++ access specifiers?..

Answer / 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

More C++ General Interview Questions

What is vector pair in c++?

0 Answers  


Refer to a name of class or function that is defined within a namespace?

0 Answers  


Explain register storage specifier.

0 Answers  


What is the difference between static link library and dynamic link library?

7 Answers   Tech Mahindra,


without if else statement can be written ah

0 Answers  


What is struct c++?

0 Answers  


Differentiate between a template class and class template in c++?

0 Answers  


Describe the main characteristics of static functions?

1 Answers  


Write a program to encrypt the data in a way that inputs a four digit number and replace each digit by (the sum of that digit plus 7) modulus 10. Then sweep the first digit with the third, second digit with the fourth and print the encrypted number.

0 Answers   CIIT Wah,


Describe public access specifiers?

0 Answers  


What should main() return in c and c++?

0 Answers  


Does c++ support multilevel and multiple inheritances?

0 Answers  


Categories