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
What is a map in c++?
Explain some examples of operator overloading?
What is type of 'this' pointer? Explain when it is get created?
Differences between private, protected and public and give examples.
How one would use switch in a program?
What is the difference between c++ and turbo c++?
Can you use the function fprintf() to display the output on the screen?
. If employee B is the boss of A and C is the boss of B and D is the boss of C and E is the boss of D. Then write a program using the Database such that if an employee name is Asked to Display it also display his bosses with his name. For eg. If C is displayed it should also display D and E with C?
Can I run c program in turbo c++?
Explain the scope of resolution operator.
Why namespace is used in c++?
can any one help to find a specific string between html tags
which is changed to a sting..
weather.html looks (for location) is
Explain Text Manipulation Routines? What would happen on forgetting [], while deallocating an array through new? How can you differentiate between inheritance and implementation in c++?